]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
pid namespaces: make get_pid_ns() return the namespace itself
authorPavel Emelianov <xemul@openvz.org>
Fri, 19 Oct 2007 06:39:47 +0000 (23:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:37 +0000 (11:53 -0700)
commita05f7b15deb2903d9f0b5df33ddd4d186d5ecac1
tree559d774c0e31d61396b32a86558a3f4c9711b658
parenta47afb0f9d794d525a372c8d69902147cc88222a
pid namespaces: make get_pid_ns() return the namespace itself

Make get_pid_ns() return the namespace itself to look like the other getters
and make the code using it look nicer.

Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Acked-by: Cedric Le Goater <clg@fr.ibm.com>
Cc: Kirill Korotaev <dev@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/pid_namespace.h