Commit 048257cb authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

remove unused field nr_zombes from rst_info

Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 316820c3
...@@ -827,9 +827,7 @@ static inline int fork_with_pid(struct pstree_item *item) ...@@ -827,9 +827,7 @@ static inline int fork_with_pid(struct pstree_item *item)
rsti(item)->has_seccomp = ca.core->tc->seccomp_mode != SECCOMP_MODE_DISABLED; rsti(item)->has_seccomp = ca.core->tc->seccomp_mode != SECCOMP_MODE_DISABLED;
if (item->pid.state == TASK_DEAD) if (item->pid.state != TASK_DEAD && !task_alive(item)) {
rsti(item->parent)->nr_zombies++;
else if (!task_alive(item)) {
pr_err("Unknown task state %d\n", item->pid.state); pr_err("Unknown task state %d\n", item->pid.state);
return -1; return -1;
} }
......
...@@ -38,8 +38,6 @@ struct rst_info { ...@@ -38,8 +38,6 @@ struct rst_info {
void *munmap_restorer; void *munmap_restorer;
int nr_zombies;
int service_fd_id; int service_fd_id;
struct fdt *fdt; struct fdt *fdt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment