make do_notify_parent() return bool
authorOleg Nesterov <oleg@redhat.com>
Wed, 22 Jun 2011 21:08:18 +0000 (23:08 +0200)
committerOleg Nesterov <oleg@redhat.com>
Mon, 27 Jun 2011 18:30:08 +0000 (20:30 +0200)
commit53c8f9f199b239668e6b1a907735ee323a0d1ccd
tree785afb9c72a2df27cd6802cf311df18711c59b76
parent06d984737bac0545fe20bb5447ee488b95adb531
make do_notify_parent() return bool

- change do_notify_parent() to return a boolean, true if the task should
  be reaped because its parent ignores SIGCHLD.

- update the only caller which checks the returned value, exit_notify().

This temporary uglifies exit_notify() even more, will be cleanuped by
the next change.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
include/linux/sched.h
kernel/exit.c
kernel/signal.c