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: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Pavel Emelyanov 2017-04-28 15:27:24 +03:00 committed by Andrei Vagin
parent 7393a4b7f9
commit 6b44cd8ea9

View file

@ -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;