diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 8b20ab7d3aa2..7798c247f4b9 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1442,7 +1442,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1442 | 1442 | ||
1443 | if (thread_group_leader(p)) { | 1443 | if (thread_group_leader(p)) { |
1444 | if (is_child_reaper(pid)) | 1444 | if (is_child_reaper(pid)) |
1445 | p->nsproxy->pid_ns->child_reaper = p; | 1445 | ns_of_pid(pid)->child_reaper = p; |
1446 | 1446 | ||
1447 | p->signal->leader_pid = pid; | 1447 | p->signal->leader_pid = pid; |
1448 | p->signal->tty = tty_kref_get(current->signal->tty); | 1448 | p->signal->tty = tty_kref_get(current->signal->tty); |