diff options
Diffstat (limited to 'kernel/pid_namespace.c')
| -rw-r--r-- | kernel/pid_namespace.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c index 598f1eec9826..fab8ea86fac3 100644 --- a/kernel/pid_namespace.c +++ b/kernel/pid_namespace.c | |||
| @@ -179,12 +179,6 @@ void zap_pid_ns_processes(struct pid_namespace *pid_ns) | |||
| 179 | rc = sys_wait4(-1, NULL, __WALL, NULL); | 179 | rc = sys_wait4(-1, NULL, __WALL, NULL); |
| 180 | } while (rc != -ECHILD); | 180 | } while (rc != -ECHILD); |
| 181 | 181 | ||
| 182 | /* | ||
| 183 | * We can not clear ->child_reaper or leave it alone. | ||
| 184 | * There may by stealth EXIT_DEAD tasks on ->children, | ||
| 185 | * forget_original_parent() must move them somewhere. | ||
| 186 | */ | ||
| 187 | pid_ns->child_reaper = init_pid_ns.child_reaper; | ||
| 188 | acct_exit_ns(pid_ns); | 182 | acct_exit_ns(pid_ns); |
| 189 | return; | 183 | return; |
| 190 | } | 184 | } |
