[CRIU] [PATCH v7 3/6] mem: Propagate struct pape_pipe ** type argument pp_ret to prep_dump_pages_args()

Kirill Tkhai ktkhai at virtuozzo.com
Mon Mar 28 02:23:27 PDT 2016


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



More information about the CRIU mailing list