diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-02-05 09:30:46 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 14:08:00 -0500 |
commit | 8089352a13b785d4e0df63d87bd2b71c76bb9aee (patch) | |
tree | e84db2c2a5c2095091d2012c00078023b90a3490 /fs/super.c | |
parent | d498b25a4f877be535246c4e5b6ee5890781a477 (diff) | |
download | op-kernel-dev-8089352a13b785d4e0df63d87bd2b71c76bb9aee.zip op-kernel-dev-8089352a13b785d4e0df63d87bd2b71c76bb9aee.tar.gz |
Mirror MS_KERNMOUNT in ->mnt_flags
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -937,6 +937,9 @@ vfs_kern_mount(struct file_system_type *type, int flags, const char *name, void 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) |