Commit 6b44cd8e authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Andrei Vagin

restore: Remove bogus futex kick

The restore_switch_stage() already waits tasks at the
end, so there's no need in one more waiting.
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 7393a4b7
......@@ -1942,11 +1942,6 @@ static int restore_root_task(struct pstree_item *init)
goto out_kill;
ret = restore_switch_stage(CR_STATE_POST_RESTORE_NS);
if (ret < 0)
goto out_kill;
pr_info("Wait until namespaces are created\n");
ret = restore_wait_inprogress_tasks();
if (ret)
goto out_kill;
......
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