From: Tejun Heo Date: Wed, 23 Mar 2011 09:37:01 +0000 (+0100) Subject: job control: Add @for_ptrace to do_notify_parent_cldstop() X-Git-Tag: v3.0-rc1~382^2~17^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75b95953a56969a990e6ce154b260be83818fe71;p=pandora-kernel.git job control: Add @for_ptrace to do_notify_parent_cldstop() Currently, do_notify_parent_cldstop() determines whether the notification is for the real parent or ptracer. Move the decision to the caller by adding @for_ptrace parameter to do_notify_parent_cldstop(). All the callers are updated to pass task_ptrace(target_task), so this patch doesn't cause any behavior difference. While at it, add function comment to do_notify_parent_cldstop(). Signed-off-by: Tejun Heo Acked-by: Oleg Nesterov --- Reading git-diff-tree failed