From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx> 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@xxxxxxxxxx> --- 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; -- _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers