kernel_optimize_test/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
inode.c fat: Fix statfs->f_namelen 2011-04-12 21:12:50 +09:00
Kconfig
Makefile
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