]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/proc/root.c
Merge tag 'for-linus-20191012' of git://git.kernel.dk/linux-block
[linux.git] / fs / proc / root.c
index 33f72d1b92cca60ef9f187ac7ccfbc873c0bf7e1..0b7c8dffc9ae85d6c07871998d8e75822899be9b 100644 (file)
@@ -157,8 +157,7 @@ static int proc_get_tree(struct fs_context *fc)
 {
        struct proc_fs_context *ctx = fc->fs_private;
 
-       fc->s_fs_info = ctx->pid_ns;
-       return vfs_get_super(fc, vfs_get_keyed_super, proc_fill_super);
+       return get_tree_keyed(fc, proc_fill_super, ctx->pid_ns);
 }
 
 static void proc_fs_context_free(struct fs_context *fc)