diff --git a/kernel/pid.c b/kernel/pid.c index a9ae9f7fb229fd5b34d6d963d080f5c047714708..e9a31d362b2805f30cc4cb5ef67a6fe0ec14ee3d 100644 --- a/kernel/pid.c +++ b/kernel/pid.c @@ -354,7 +354,6 @@ void transfer_pid(struct task_struct *old, struct task_struct *new, { new->pids[type].pid = old->pids[type].pid; hlist_replace_rcu(&old->pids[type].node, &new->pids[type].node); - old->pids[type].pid = NULL; } struct task_struct *pid_task(struct pid *pid, enum pid_type type)