projects
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Mirror MS_KERNMOUNT in ->mnt_flags
[linux-2.6.git]
/
fs
/
super.c
diff --git
a/fs/super.c
b/fs/super.c
index
903896e
..
f35ac60
100644
(file)
--- a/
fs/super.c
+++ b/
fs/super.c
@@
-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)