diff --git a/fs/exec.c b/fs/exec.c index 4a790f2e224ef260d1ca77f6d187f4199c14aefe..cfb5656b2cdc1072cebe25b8bc9239efbf3e21bb 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -825,8 +825,6 @@ static int de_thread(struct task_struct *tsk) schedule(); } - if (unlikely(task_child_reaper(tsk) == leader)) - task_active_pid_ns(tsk)->child_reaper = tsk; /* * The only record we have of the real-time age of a * process, regardless of execs it's done, is start_time.