commit | 8089352a13b785d4e0df63d87bd2b71c76bb9aee | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Feb 05 09:30:46 2010 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Mar 03 14:08:00 2010 -0500 |
tree | e84db2c2a5c2095091d2012c00078023b90a3490 | |
parent | d498b25a4f877be535246c4e5b6ee5890781a477 [diff] [blame] |
Mirror MS_KERNMOUNT in ->mnt_flags Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/super.c b/fs/super.c index 903896e..f35ac60 100644 --- a/fs/super.c +++ b/fs/super.c
@@ -937,6 +937,9 @@ if (!mnt) goto out; + if (flags & MS_KERNMOUNT) + mnt->mnt_flags = MNT_INTERNAL; + if (data && !(type->fs_flags & FS_BINARY_MOUNTDATA)) { secdata = alloc_secdata(); if (!secdata)