From: Alexey Dobriyan Date: Wed, 17 Jun 2009 23:27:52 +0000 (-0700) Subject: pidns: make create_pid_namespace() accept parent pidns X-Git-Tag: v2.6.31-rc1~195 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed469a63c37a996fa2c7041d2dc980715707902c;p=pandora-kernel.git pidns: make create_pid_namespace() accept parent pidns create_pid_namespace() creates everything, but caller has to assign parent pidns by hand, which is unnatural. At the moment of call new ->level has to be taken from somewhere and parent pidns is already available. Signed-off-by: Alexey Dobriyan Cc: Pavel Emelyanov Cc: "Eric W. Biederman" Acked-by: Serge Hallyn Acked-by: Sukadev Bhattiprolu Reviewed-by: WANG Cong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed