fat: Fix stat->f_namelen
authorKevin Dankwardt <k@kcomputing.com>
Wed, 10 Feb 2010 14:43:40 +0000 (23:43 +0900)
committerOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Wed, 10 Feb 2010 14:49:08 +0000 (23:49 +0900)
commiteeb5b4ae81f4a750355fa0c15f4fea22fdf83be1
treed71cdc178b8643a5ddced54dc540403d11af9fa1
parent8045e2985012bdb95d832dfbcceae1815880a6ed
fat: Fix stat->f_namelen

I found that the length of a file name when created cannot exceed 255
characters, yet, pathconf(), via statfs(), returns the maximum as 260.

Signed-off-by: Kevin Dankwardt <k@kcomputing.com>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
fs/fat/inode.c
fs/fat/namei_vfat.c
include/linux/msdos_fs.h