OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea23b45
)
make simple_pin_fs() pass MS_KERNMOUNT - it's a kernel-internal one
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 17 Mar 2012 06:13:52 +0000
(
02:13
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:44 +0000
(21:29 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/libfs.c
patch
|
blob
|
history
diff --git
a/fs/libfs.c
b/fs/libfs.c
index
7c895a7
..
722e0d5
100644
(file)
--- a/
fs/libfs.c
+++ b/
fs/libfs.c
@@
-534,7
+534,7
@@
int simple_pin_fs(struct file_system_type *type, struct vfsmount **mount, int *c
spin_lock(&pin_fs_lock);
if (unlikely(!*mount)) {
spin_unlock(&pin_fs_lock);
- mnt = vfs_kern_mount(type,
0
, type->name, NULL);
+ mnt = vfs_kern_mount(type,
MS_KERNMOUNT
, type->name, NULL);
if (IS_ERR(mnt))
return PTR_ERR(mnt);
spin_lock(&pin_fs_lock);