[CRIU] [PATCH] files: remove ghost directories when a restore failed

Pavel Emelyanov xemul at virtuozzo.com
Tue Mar 1 23:34:11 PST 2016


> @@ -1644,6 +1643,7 @@ static struct collect_image_info reg_file_cinfo = {
>  	.pb_type = PB_REG_FILE,
>  	.priv_size = sizeof(struct reg_file_info),
>  	.collect = collect_one_regfile,
> +	.flags = COLLECT_SHARED,

Why is sharing required?

>  };
>  
>  int prepare_shared_reg_files(void)
> diff --git a/criu/include/files-reg.h b/criu/include/files-reg.h



More information about the CRIU mailing list