From: OGAWA Hirofumi Date: Tue, 12 Apr 2011 12:08:39 +0000 (+0900) Subject: fat: Fix statfs->f_namelen X-Git-Tag: v3.0-rc1~323^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f68e542f3478147986a9c8958942ec649dc06201;p=pandora-kernel.git fat: Fix statfs->f_namelen pathconf(, _PC_NAME_MAX) is too small for long Unicode filename on fat. 255 as max filename size on fat is Unicode UTF-16 characters. it's not byte size. https://bugzilla.kernel.org/show_bug.cgi?id=16469 To fix it, this returns "len * NLS_MAX_CHARSET_SIZE" instead. Reported-by: Takumi Asaki Signed-off-by: OGAWA Hirofumi --- Reading git-diff-tree failed