[CRIU] [PATCH v5 3/5] mem: Propagate pape_pipe argument to prep_dump_pages_args()

Mike Rapoport mike.rapoport at gmail.com
Wed Mar 23 07:11:09 PDT 2016


On Wed, Mar 23, 2016 at 04:01:30PM +0300, Kirill Tkhai wrote:
> Subject: mem: Propagate pape_pipe argument to prep_dump_pages_args()

Sorry to nitpick, but shouldn't it be page_pipe argument? ;-)

> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
> ---
>  criu/mem.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/criu/mem.c b/criu/mem.c
> index a58a871..1379f09 100644
> --- a/criu/mem.c
> +++ b/criu/mem.c
> @@ -175,7 +175,7 @@ static int generate_iovs(struct vma_area *vma, struct page_pipe *pp, u64 *map, u
>  }
>  
>  static struct parasite_dump_pages_args *prep_dump_pages_args(struct parasite_ctl *ctl,
> -		struct vm_area_list *vma_area_list)
> +		struct vm_area_list *vma_area_list, struct page_pipe **pp_ret)
>  {
>  	struct parasite_dump_pages_args *args;
>  	struct parasite_vma_entry *p_vma;
> @@ -353,7 +353,7 @@ int parasite_dump_pages_seized(struct parasite_ctl *ctl,
>  	int ret;
>  	struct parasite_dump_pages_args *pargs;
>  
> -	pargs = prep_dump_pages_args(ctl, vma_area_list);
> +	pargs = prep_dump_pages_args(ctl, vma_area_list, pp);
>  
>  	/*
>  	 * Add PROT_READ protection for all VMAs we're about to
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list