[RFC][PATCH 12/14] Remove copy_pid_ns function

sukadev at us.ibm.com sukadev at us.ibm.com
Tue Mar 20 20:23:52 PDT 2007


From: Sukadev Bhattiprolu <sukadev at us.ibm.com>
Subject: [RFC][PATCH 12/14] Remove copy_pid_ns function

Remove the copy_pid_ns() function as we have decoupled pid namespace
from nsproxy and also because we currently disallow unsharing of pid
namespace.

Signed-off-by: Sukadev Bhattiprolu <sukadev at us.ibm.com>
---
 kernel/pid.c |    7 -------
 1 file changed, 7 deletions(-)

Index: 2.6.21-rc3-mm2/kernel/pid.c
===================================================================
--- 2.6.21-rc3-mm2.orig/kernel/pid.c
+++ 2.6.21-rc3-mm2/kernel/pid.c
@@ -468,13 +468,6 @@ struct pid *find_ge_pid(int nr)
 }
 EXPORT_SYMBOL_GPL(find_get_pid);

-struct pid_namespace *copy_pid_ns(int flags, struct pid_namespace *old_ns)
-{
-	BUG_ON(!old_ns);
-	get_pid_ns(old_ns);
-	return old_ns;
-}
-
 void free_pid_ns(struct kref *kref)
 {
 	struct pid_namespace *ns;

-- 




More information about the Containers mailing list