aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 242a706e7721..43c039d55e95 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1093,7 +1093,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1093#ifdef CONFIG_DEBUG_MUTEXES 1093#ifdef CONFIG_DEBUG_MUTEXES
1094 p->blocked_on = NULL; /* not blocked yet */ 1094 p->blocked_on = NULL; /* not blocked yet */
1095#endif 1095#endif
1096 if (unlikely(ptrace_reparented(current))) 1096 if (unlikely(current->ptrace))
1097 ptrace_fork(p, clone_flags); 1097 ptrace_fork(p, clone_flags);
1098 1098
1099 /* Perform scheduler related setup. Assign this task to a CPU. */ 1099 /* Perform scheduler related setup. Assign this task to a CPU. */