Commit 3649d94c authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Pavel Emelyanov

files: Fix not populated helper ids

Every task and helper have ids populated, except this case.
Fix that.

https://travis-ci.org/tkhai/criu/builds/197728925

travis-ci: success for files: Fix not populated helper ids
Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent dc202520
...@@ -394,6 +394,7 @@ static int open_remap_dead_process(struct reg_file_info *rfi, ...@@ -394,6 +394,7 @@ static int open_remap_dead_process(struct reg_file_info *rfi,
helper->pgid = root_item->pgid; helper->pgid = root_item->pgid;
helper->pid->ns[0].virt = rfe->remap_id; helper->pid->ns[0].virt = rfe->remap_id;
helper->parent = root_item; helper->parent = root_item;
helper->ids = root_item->ids;
list_add_tail(&helper->sibling, &root_item->children); list_add_tail(&helper->sibling, &root_item->children);
pr_info("Added a helper for restoring /proc/%d\n", helper->pid->ns[0].virt); pr_info("Added a helper for restoring /proc/%d\n", helper->pid->ns[0].virt);
......
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