[CRIU] [CRIU master][PATCH] criu: do not initialize fdstore twice

Mike Rapoport rppt at linux.vnet.ibm.com
Wed Mar 28 09:37:28 MSK 2018


Fixes: #460

CC: Kirill Tkhai <ktkhai at virtuozzo.com>
Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
---
 criu/cr-restore.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index dcc823b..acc99e3 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;
-- 
2.7.4



More information about the CRIU mailing list