]> Git Repo - linux.git/blobdiff - fs/fat/inode.c
Merge branch 'vhost' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[linux.git] / fs / fat / inode.c
index fbeecdc194dc70bbf9405a43b186e12cb8aa6f95..0ce143bd7d56a9c387db5dbf6c16624d4cd02e1a 100644 (file)
@@ -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;
 }
This page took 0.032528 seconds and 4 git commands to generate.