Commit c6a3b1de authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

mem: rename fill_pages into dump_pages

This function splices data from a process to criu,
so dump_pages describes the real meaning.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent bda9bd6c
......@@ -189,7 +189,7 @@ static struct parasite_dump_pages_args *prep_dump_pages_args(struct parasite_ctl
return args;
}
static int fill_pages(struct page_pipe *pp, struct parasite_ctl *ctl,
static int dump_pages(struct page_pipe *pp, struct parasite_ctl *ctl,
struct parasite_dump_pages_args *args, struct page_xfer *xfer)
{
struct page_pipe_buf *ppb;
......@@ -292,7 +292,7 @@ again:
if (ret == -EAGAIN) {
BUG_ON(pp_ret);
ret = fill_pages(pp, ctl, args, &xfer);
ret = dump_pages(pp, ctl, args, &xfer);
if (ret)
goto out_xfer;
page_pipe_reinit(pp);
......@@ -302,7 +302,7 @@ again:
goto out_xfer;
}
ret = fill_pages(pp, ctl, args, pp_ret ? NULL : &xfer);
ret = dump_pages(pp, ctl, args, pp_ret ? NULL : &xfer);
if (ret)
goto out_xfer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment