don't touch current->tasks in de_thread()
Subsystems (2)
PATCH 1/1 don't touch current->tasks in de_thread()
switch_exec_pids() already added 'current' to init_task.tasks, no need to re-add in de_thread().
Signed-off-by Oleg Nesterov <[email protected]>
fs/exec.c renamed from fs/exec.c~ +0 -2
@@ -713,8 +713,6 @@ static int de_thread(struct task_struct__ptrace_link (current, parent); } -list_del (¤t->tasks); -list_add_tail (¤t->tasks, &init_task.tasks); current->exit_signal =SIGCHLD ;BUG_ON (leader->exit_state !=EXIT_ZOMBIE );