diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-13 01:35:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-13 01:35:21 +0100 |
commit | 9d85929fefd040ca84a5e04ee704d043efcc3c2e (patch) | |
tree | 34cdd0f79f656962fe0aada6b603620a6afc294a /fs/fat/inode.c | |
parent | Fix up .gitignore for top-level file patterns (diff) | |
parent | fat: Fix stat->f_namelen (diff) | |
download | linux-9d85929fefd040ca84a5e04ee704d043efcc3c2e.tar.xz linux-9d85929fefd040ca84a5e04ee704d043efcc3c2e.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6:
fat: Fix stat->f_namelen
fat: Fix vfat_lookup()
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r-- | fs/fat/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index fbeecdc194dc..0ce143bd7d56 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -558,7 +558,7 @@ static int fat_statfs(struct dentry *dentry, struct kstatfs *buf) buf->f_bavail = sbi->free_clusters; buf->f_fsid.val[0] = (u32)id; buf->f_fsid.val[1] = (u32)(id >> 32); - buf->f_namelen = sbi->options.isvfat ? 260 : 12; + buf->f_namelen = sbi->options.isvfat ? FAT_LFN_LEN : 12; return 0; } |