summaryrefslogtreecommitdiff
path: root/fs/hfs/string.c
diff options
context:
space:
mode:
authorKeith Mok <ek9852@gmail.com>2008-04-28 09:16:29 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 15:58:47 (GMT)
commitf22032ba8de2960a64a3dd9719fb5c99b1f1ae6e (patch)
treec515ff4c94c041325cede8061a9fe3301ec08e53 /fs/hfs/string.c
parent061e97469f46f924cf14bbf1dd4805b46986691a (diff)
downloadlinux-fsl-qoriq-f22032ba8de2960a64a3dd9719fb5c99b1f1ae6e.tar.xz
vfat: bug fix for vfat cannot handle filename with 255
This patch fix the problem that the buffer allocated for convert of unicode to utf8 in fat/dir.c is too small. And cannot handle filename with 255 asian characters when mounted with utf8 options. Also it fix the filename length limitation checking in vfat/namei.c that the filename length should be checked against the number of converted unicode characters. Not the length before NLS/UTF8 converted. Signed-off-by: Keith Mok <ek9852@gmail.com> Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfs/string.c')
0 files changed, 0 insertions, 0 deletions