Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=407af46a967ffd2f208f0a5fb3f1ff954801494a
Commit:     407af46a967ffd2f208f0a5fb3f1ff954801494a
Parent:     a8b0ac0873cd911b3bf3d6e2db98f80d0b158d56
Author:     Oleg Nesterov <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 23:26:57 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 08:42:51 2007 -0700

    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 <[EMAIL PROTECTED]>
    Cc: Roland McGrath <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 kernel/exit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/exit.c b/kernel/exit.c
index 8b64c03..9d6e089 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1201,7 +1201,7 @@ static int wait_task_zombie(struct task_struct *p, int 
noreap,
                return 0;
        }
 
-       if (likely(p->real_parent == p->parent) && likely(p->signal)) {
+       if (likely(p->real_parent == p->parent)) {
                struct signal_struct *psig;
                struct signal_struct *sig;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to