lkml.org 
[lkml]   [2006]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] pid: Remove temporary debug code in attach_pid
Date

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 <ebiederm@xmission.com>
---
kernel/pid.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/kernel/pid.c b/kernel/pid.c
index 3153e96..9d56720 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -224,9 +224,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]);
--
1.4.1.gac83a
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-11 00:45    [W:0.024 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site