From: ebiederm@xmission.com (Eric W. Biederman) With the patches flying between Oleg and myself somehow this temporary debug code got left in pid.c. It was never intended to make it to the stable kernel. Signed-off-by: Eric W. Biederman Cc: Oleg Nesterov Signed-off-by: Andrew Morton --- kernel/pid.c | 3 --- 1 file changed, 3 deletions(-) diff -puN kernel/pid.c~pid-remove-temporary-debug-code-in-attach_pid kernel/pid.c --- a/kernel/pid.c~pid-remove-temporary-debug-code-in-attach_pid +++ a/kernel/pid.c @@ -223,9 +223,6 @@ int fastcall attach_pid(struct task_stru struct pid_link *link; struct pid *pid; - WARN_ON(!task->pid); /* to be removed soon */ - WARN_ON(!nr); /* to be removed soon */ - link = &task->pids[type]; link->pid = pid = find_pid(nr); hlist_add_head_rcu(&link->node, &pid->tasks[type]); _