mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
restore: don't call fdstore_init twice
When the "core: Init fdstore even earlier" commit was moved into the master branch, one hunk was lost. https://github.com/checkpoint-restore/criu/issues/460 Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
c21e09cfe2
commit
c297c994bc
1 changed files with 0 additions and 3 deletions
|
|
@ -1648,9 +1648,6 @@ static int restore_task_with_children(void *_arg)
|
|||
|
||||
/* Restore root task */
|
||||
if (current->parent == NULL) {
|
||||
if (fdstore_init())
|
||||
goto err;
|
||||
|
||||
if (join_namespaces()) {
|
||||
pr_perror("Join namespaces failed");
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue