projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
exfat: remove unnecessary reassignment of p_uniname->name_len
[linux-2.6-microblaze.git]
/
fs
/
exfat
/
nls.c
diff --git
a/fs/exfat/nls.c
b/fs/exfat/nls.c
index
1932177
..
c1ec056
100644
(file)
--- a/
fs/exfat/nls.c
+++ b/
fs/exfat/nls.c
@@
-514,8
+514,6
@@
static int exfat_utf8_to_utf16(struct super_block *sb,
return -ENAMETOOLONG;
}
- p_uniname->name_len = unilen & 0xFF;
-
for (i = 0; i < unilen; i++) {
if (*uniname < 0x0020 ||
exfat_wstrchr(bad_uni_chars, *uniname))