X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fkernfs%2Fmount.c;fp=fs%2Fkernfs%2Fmount.c;h=d90d574c15a2f5da013d398f724d1afb5b456612;hb=6e4eab577a0cae15b3da9b888cff16fe57981b3e;hp=63534f5f9073c364bacd619a2a07e75617e4ece2;hpb=e94591d0d90c13166cb6eb54ce5f96ed13d81b55;p=cascardo%2Flinux.git diff --git a/fs/kernfs/mount.c b/fs/kernfs/mount.c index 63534f5f9073..d90d574c15a2 100644 --- a/fs/kernfs/mount.c +++ b/fs/kernfs/mount.c @@ -241,7 +241,8 @@ struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags, info->root = root; info->ns = ns; - sb = sget(fs_type, kernfs_test_super, kernfs_set_super, flags, info); + sb = sget_userns(fs_type, kernfs_test_super, kernfs_set_super, flags, + &init_user_ns, info); if (IS_ERR(sb) || sb->s_fs_info != info) kfree(info); if (IS_ERR(sb))