diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-10-17 02:26:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:51 -0400 |
commit | 407af46a967ffd2f208f0a5fb3f1ff954801494a (patch) | |
tree | cf9b98874efb3f6a9e244c4f2be6eaf69db3306e | |
parent | a8b0ac0873cd911b3bf3d6e2db98f80d0b158d56 (diff) |
wait_task_zombie: remove unneeded child->signal check
A zombie must have a valid ->signal, we are going to release it and
__exit_signal() starts with BUG_ON(!sig).
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 8b64c0371ae9..9d6e0897a447 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -1201,7 +1201,7 @@ static int wait_task_zombie(struct task_struct *p, int noreap, | |||
1201 | return 0; | 1201 | return 0; |
1202 | } | 1202 | } |
1203 | 1203 | ||
1204 | if (likely(p->real_parent == p->parent) && likely(p->signal)) { | 1204 | if (likely(p->real_parent == p->parent)) { |
1205 | struct signal_struct *psig; | 1205 | struct signal_struct *psig; |
1206 | struct signal_struct *sig; | 1206 | struct signal_struct *sig; |
1207 | 1207 | ||