]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/super.c
pid namespaces: introduce MS_KERNMOUNT flag
[net-next-2.6.git] / fs / super.c
index feaae7eeaffdfb2eaba44b17c802f24a0bc3fd4b..d28fde7e1cfbf96329c02ce34e38cf1310d0f6f4 100644 (file)
@@ -944,9 +944,9 @@ do_kern_mount(const char *fstype, int flags, const char *name, void *data)
        return mnt;
 }
 
-struct vfsmount *kern_mount(struct file_system_type *type)
+struct vfsmount *kern_mount_data(struct file_system_type *type, void *data)
 {
-       return vfs_kern_mount(type, 0, type->name, NULL);
+       return vfs_kern_mount(type, MS_KERNMOUNT, type->name, data);
 }
 
-EXPORT_SYMBOL(kern_mount);
+EXPORT_SYMBOL_GPL(kern_mount_data);