Skip to content
Commit 4308eebb authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds
Browse files

pidns: call pid_ns_prepare_proc() from create_pid_namespace()



Reorganize proc_get_sb() so it can be called before the struct pid of the
first process is allocated.

Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@free.fr>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: default avatarSerge E. Hallyn <serge@hallyn.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 45a68628
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment