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:
Andrei Vagin 2018-03-27 20:48:25 +03:00
parent c21e09cfe2
commit c297c994bc

View file

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