aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index b42f8ed23611..abb3ed6298f6 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1414,10 +1414,7 @@ long do_fork(unsigned long clone_flags,
1414 freezer_do_not_count(); 1414 freezer_do_not_count();
1415 wait_for_completion(&vfork); 1415 wait_for_completion(&vfork);
1416 freezer_count(); 1416 freezer_count();
1417 if (unlikely (current->ptrace & PT_TRACE_VFORK_DONE)) { 1417 tracehook_report_vfork_done(p, nr);
1418 current->ptrace_message = nr;
1419 ptrace_notify ((PTRACE_EVENT_VFORK_DONE << 8) | SIGTRAP);
1420 }
1421 } 1418 }
1422 } else { 1419 } else {
1423 nr = PTR_ERR(p); 1420 nr = PTR_ERR(p);