]> git.baikalelectronics.ru Git - kernel.git/commit
tracehook_notify_death: use task_detached() helper
authorOleg Nesterov <oleg@redhat.com>
Thu, 2 Apr 2009 23:58:20 +0000 (16:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:05:00 +0000 (19:05 -0700)
commit80c1c4d0e614c180ceeacd1b10f243cea560a7b1
tree0acb31023b4b6ff49e173005fb9baaa3f3b74b2f
parentfd1cb52c6fb9e0883f7ad7522bc9eb569e5130c0
tracehook_notify_death: use task_detached() helper

Now that task_detached() is exported, change tracehook_notify_death() to
use this helper, nobody else checks ->exit_signal == -1 by hand.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Metzger, Markus T" <markus.t.metzger@intel.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>
include/linux/tracehook.h