From: Tejun Heo Date: Wed, 23 Mar 2011 09:37:01 +0000 (+0100) Subject: job control: Small reorganization of wait_consider_task() X-Git-Tag: v3.0-rc1~382^2~17^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=823b018e5b1196d810790559357447948f644548;p=pandora-kernel.git job control: Small reorganization of wait_consider_task() Move EXIT_DEAD test in wait_consider_task() above ptrace check. As ptraced tasks can't be EXIT_DEAD, this change doesn't cause any behavior change. This is to prepare for further changes. Signed-off-by: Tejun Heo Acked-by: Oleg Nesterov --- Reading git-diff-tree failed