diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 16432428fc6c..25582b442955 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -73,6 +73,7 @@ static void __unhash_process(struct task_struct *p, bool group_dead) | |||
73 | nr_threads--; | 73 | nr_threads--; |
74 | detach_pid(p, PIDTYPE_PID); | 74 | detach_pid(p, PIDTYPE_PID); |
75 | if (group_dead) { | 75 | if (group_dead) { |
76 | detach_pid(p, PIDTYPE_TGID); | ||
76 | detach_pid(p, PIDTYPE_PGID); | 77 | detach_pid(p, PIDTYPE_PGID); |
77 | detach_pid(p, PIDTYPE_SID); | 78 | detach_pid(p, PIDTYPE_SID); |
78 | 79 | ||