]> git.baikalelectronics.ru Git - kernel.git/commit
ptrace: wait_task_zombie: s/->parent/->real_parent/
authorOleg Nesterov <oleg@redhat.com>
Wed, 17 Jun 2009 23:27:34 +0000 (16:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:51 +0000 (13:03 -0700)
commitdb17c3bb71d0f5232b2335192fa1d8ab36f9a462
treebd4458a65ac9ff942a3ba6dfcd70c281e15e067a
parentae70e6f4d1f1449e6b802d5a11e7c384c1508248
ptrace: wait_task_zombie: s/->parent/->real_parent/

Change wait_task_zombie() to use ->real_parent instead of ->parent.  We
could even use current afaics, but ->real_parent is more clean.

We know that the child is not ptrace_reparented() and thus they are equal.
 But we should avoid using task_struct->parent, we are going to remove it.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c