aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/taskstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/taskstats.c b/kernel/taskstats.c
index b724aeea5443..8adfb8069c6d 100644
--- a/kernel/taskstats.c
+++ b/kernel/taskstats.c
@@ -235,7 +235,7 @@ static int fill_tgid(pid_t tgid, struct task_struct *first,
235 235
236 tsk = first; 236 tsk = first;
237 do { 237 do {
238 if (tsk->exit_state == EXIT_ZOMBIE && thread_group_leader(tsk)) 238 if (tsk->exit_state)
239 continue; 239 continue;
240 /* 240 /*
241 * Accounting subsystem can call its functions here to 241 * Accounting subsystem can call its functions here to