The patch titled ptrace: __ptrace_unlink: use the ptrace_reparented() helper has been removed from the -mm tree. Its filename was ptrace-__ptrace_unlink-use-the-ptrace_reparented-helper.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: ptrace: __ptrace_unlink: use the ptrace_reparented() helper From: Oleg Nesterov <oleg@xxxxxxxxxx> Currently __ptrace_unlink() checks list_empty(->ptrace_list) to figure out whether the child was reparented. Change the code to use ptrace_reparented() to make this check more explicit and consistent. No functional changes. Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Acked-by: Roland McGrath <roland@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/ptrace.c~ptrace-__ptrace_unlink-use-the-ptrace_reparented-helper kernel/ptrace.c --- a/kernel/ptrace.c~ptrace-__ptrace_unlink-use-the-ptrace_reparented-helper +++ a/kernel/ptrace.c @@ -73,7 +73,7 @@ void __ptrace_unlink(struct task_struct BUG_ON(!child->ptrace); child->ptrace = 0; - if (!list_empty(&child->ptrace_list)) { + if (ptrace_reparented(child)) { list_del_init(&child->ptrace_list); remove_parent(child); child->parent = child->real_parent; _ Patches currently in -mm which might be from oleg@xxxxxxxxxx are origin.patch posix-timers-bug-10460-discard-the-pending-signal-when-the-timer-is-destroyed.patch workqueue-remove-redundant-function-invocation.patch put_pid-make-sure-we-dont-free-the-live-pid.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html