diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1604,6 +1604,8 @@ static int coredump_wait(int exit_code, struct core_state *core_state) | |||
1604 | 1604 | ||
1605 | init_completion(&mm->core_done); | 1605 | init_completion(&mm->core_done); |
1606 | init_completion(&core_state->startup); | 1606 | init_completion(&core_state->startup); |
1607 | core_state->dumper.task = tsk; | ||
1608 | core_state->dumper.next = NULL; | ||
1607 | core_waiters = zap_threads(tsk, mm, core_state, exit_code); | 1609 | core_waiters = zap_threads(tsk, mm, core_state, exit_code); |
1608 | up_write(&mm->mmap_sem); | 1610 | up_write(&mm->mmap_sem); |
1609 | 1611 | ||