Commit c297c994 authored by Andrei Vagin's avatar Andrei Vagin

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/460Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent c21e09cf
......@@ -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;
......
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