Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'criu/cr-dump.c')
-rw-r--r--criu/cr-dump.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/criu/cr-dump.c b/criu/cr-dump.c
index e31b2f702..63eb627fc 100644
--- a/criu/cr-dump.c
+++ b/criu/cr-dump.c
@@ -811,16 +811,7 @@ static int dump_task_core_all(struct parasite_ctl *ctl, struct pstree_item *item
goto err;
}
- /*
- * We don't support multithreads zombie tasks so there is
- * no thread_core in zombie tasks, store the cg_set in
- * task_core in these cases.
- */
cg_set = &core->thread_core->cg_set;
- if (item->pid->state == TASK_THREAD) {
- core->tc->has_cg_set = true;
- cg_set = &core->tc->cg_set;
- }
ret = dump_thread_cgroup(item, cg_set, info, -1);
if (ret)
goto err;