2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

pages: Rename parasite args->nr to args->nr_segs

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2013-05-13 23:05:37 +04:00
parent c15d4ee66a
commit eb41d26d4a
3 changed files with 5 additions and 5 deletions

6
mem.c
View File

@@ -349,16 +349,16 @@ static int __parasite_dump_pages_seized(struct parasite_ctl *ctl,
if (ret)
goto out_pp;
args->nr = ppb->nr_segs;
args->nr_segs = ppb->nr_segs;
args->nr_pages = ppb->pages_in;
pr_debug("PPB: %d pages %d segs %u pipe %d off\n",
args->nr_pages, args->nr, ppb->pipe_size, args->off);
args->nr_pages, args->nr_segs, ppb->pipe_size, args->off);
ret = parasite_execute(PARASITE_CMD_DUMPPAGES, ctl);
if (ret < 0)
goto out_pp;
args->off += args->nr;
args->off += args->nr_segs;
}
ret = open_page_xfer(&xfer, CR_FD_PAGEMAP, ctl->pid.virt);