mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
a8b0ac0873
commit
407af46a96
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue