From: Oleg Nesterov Date: Wed, 22 Jun 2011 21:09:09 +0000 (+0200) Subject: make do_notify_parent() __must_check, update the callers X-Git-Tag: v3.1-rc1~308^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8677347378044ab564470bced2275520efb3670d;p=pandora-kernel.git make do_notify_parent() __must_check, update the callers Change other callers of do_notify_parent() to check the value it returns, this makes the subsequent task_detached() unnecessary. Mark do_notify_parent() as __must_check. Use thread_group_leader() instead of !task_detached() to check if we need to notify the real parent in wait_task_zombie(). Remove the stale comment in release_task(). "just for sanity" is no longer true, we have to set EXIT_DEAD to avoid the races with do_wait(). Signed-off-by: Oleg Nesterov Acked-by: Tejun Heo --- Reading git-diff-tree failed