From c297c994bc6a808ff8be998285e61c71d910b4bc Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 27 Mar 2018 20:48:25 +0300 Subject: [PATCH] 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 --- criu/cr-restore.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/criu/cr-restore.c b/criu/cr-restore.c index dcc823be2..acc99e3f9 100644 --- a/criu/cr-restore.c +++ b/criu/cr-restore.c @@ -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;