VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Mimi Zohar <zohar@linux.vnet.ibm.com> 2017-10-08 00:28:21 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2017-10-17 02:22:07 -0400 commit: 917086ff231f614e6705927d8fe3eb6aa74b21bf parent: 1cfd0ddd82232804e03f3023f6a58b50dfef0574
Commit Summary:
vfs: fix mounting a filesystem with i_version
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/namespace.c b/fs/namespace.c
index 3b601f115b6c..d18deb4c410b 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -2825,7 +2825,8 @@ long do_mount(const char *dev_name, const char __user *dir_name,
 			    SB_MANDLOCK |
 			    SB_DIRSYNC |
 			    SB_SILENT |
-			    SB_POSIXACL);
+			    SB_POSIXACL |
+			    SB_I_VERSION);
 
 	if (flags & MS_REMOUNT)
 		retval = do_remount(&path, flags, sb_flags, mnt_flags,