[CRIU] [CRIU master][PATCH] criu: do not initialize fdstore twice
Andrei Vagin
avagin at virtuozzo.com
Wed Mar 28 19:46:34 MSK 2018
https://github.com/avagin/criu/commit/c297c994bc6a808ff8be998285e61c71d910b4bc
On Wed, Mar 28, 2018 at 09:37:28AM +0300, Mike Rapoport wrote:
> 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