From: Namjae Jeon Date: Fri, 23 Mar 2012 22:02:39 +0000 (-0700) Subject: fat: fix bug in enforcing Long File Name length X-Git-Tag: v3.4-rc1~109^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d533df07c20c7b59b0559a3ac38fb45c81ffd6bb;p=pandora-kernel.git fat: fix bug in enforcing Long File Name length Since '*outlen' is initialized to zero, it is currently possible to create a filename of length (FAT_LFN_LEN + 1) when utf8 is not enabled. To enforce the FAT_LFN_LEN limit, we must perform one less iteration. Signed-off-by: Namjae Jeon Signed-off-by: Ravishankar N Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed