diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-17 02:13:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:44 -0400 |
commit | 2452992aa78315bf0f510620d22fae8ecb40a2eb (patch) | |
tree | 6189253c48aa4a40d07707bf406896833778c61c /fs/libfs.c | |
parent | ea23b453103e7495ef0a90c86b92f27e17092bfa (diff) | |
download | op-kernel-dev-2452992aa78315bf0f510620d22fae8ecb40a2eb.zip op-kernel-dev-2452992aa78315bf0f510620d22fae8ecb40a2eb.tar.gz |
make simple_pin_fs() pass MS_KERNMOUNT - it's a kernel-internal one
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/libfs.c')
-rw-r--r-- | fs/libfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |