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()
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user