summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-04-28 16:19:25 +0400
committerMiklos Szeredi <mszeredi@suse.cz>2014-04-28 16:19:25 +0400
commit4ace1f85a7cdab5453c2e12029ff978dd4cd6155 (patch)
treeb980dc71ff3c340e78d5f24a3cdf7aa0a66f7bdb
parent3ad22c62dd23ad26c8737c300f455de60ba01f40 (diff)
downloadlinux-4ace1f85a7cdab5453c2e12029ff978dd4cd6155.tar.xz
fuse: clear MS_I_VERSION
Fuse doesn't support i_version (yet). Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
-rw-r--r--fs/fuse/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index e9ecb1878109..754dcf23de8a 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -1004,7 +1004,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
if (sb->s_flags & MS_MANDLOCK)
goto err;
- sb->s_flags &= ~MS_NOSEC;
+ sb->s_flags &= ~(MS_NOSEC | MS_I_VERSION);
if (!parse_fuse_opt((char *) data, &d, is_bdev))
goto err;