Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256855
b: refs/heads/master
c: 0976a03
h: refs/heads/master
i:
  256853: 75b2516
  256851: e65783b
  256847: 069d60f
v: v3
  • Loading branch information
Oleg Nesterov committed Jun 27, 2011
1 parent dd7383e commit c191627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8677347378044ab564470bced2275520efb3670d
refs/heads/master: 0976a03e5ce8ec346e985f21046d7a75bb7fdffd
2 changes: 1 addition & 1 deletion trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ static void reparent_leader(struct task_struct *father, struct task_struct *p,
{
list_move_tail(&p->sibling, &p->real_parent->children);

if (task_detached(p))
if (p->exit_state == EXIT_DEAD)
return;
/*
* If this is a threaded reparent there is no need to
Expand Down

0 comments on commit c191627

Please sign in to comment.