mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
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:
parent
7393a4b7f9
commit
6b44cd8ea9
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue