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]>
--- RC-1/fs/exec.c~ 2006-01-19 18:13:06.000000000 +0300
+++ RC-1/fs/exec.c 2006-01-30 20:17:20.000000000 +0300
@@ -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);