From: Keith Mok Date: Mon, 28 Apr 2008 09:16:29 +0000 (-0700) Subject: vfat: bug fix for vfat cannot handle filename with 255 X-Git-Tag: v2.6.26-rc1~724 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f22032ba8de2960a64a3dd9719fb5c99b1f1ae6e;p=pandora-kernel.git 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 Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed