1
linux/fs/fat
OGAWA Hirofumi f68e542f34 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 <takumi.asaki@nokia.com>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
2011-04-12 21:12:50 +09:00
..
cache.c fat: Fix possible null deref in fat_cache_add() 2011-04-12 21:12:16 +09:00
dir.c fat: Replace all printk with fat_msg() 2011-04-12 21:12:42 +09:00
fat.h fat: Add fat_msg() function for preformated FAT messages 2011-04-12 21:12:35 +09:00
fatent.c fat: Replace all printk with fat_msg() 2011-04-12 21:12:42 +09:00
file.c check ATTR_SIZE contraints in inode_change_ok 2010-08-09 16:47:39 -04:00
inode.c fat: Fix statfs->f_namelen 2011-04-12 21:12:50 +09:00
Kconfig vfat: Note the NLS requirement 2009-04-17 09:32:11 -07:00
Makefile fat: move fs/vfat/* and fs/msdos/* to fs/fat 2008-11-06 15:41:20 -08:00
misc.c fat: Replace all printk with fat_msg() 2011-04-12 21:12:42 +09:00
namei_msdos.c fat: use new setup() for ->dir_ops too 2011-04-12 21:12:00 +09:00
namei_vfat.c fat: use new setup() for ->dir_ops too 2011-04-12 21:12:00 +09:00