Commit cf5c57bf authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov
parent 0bfa6a6c
......@@ -711,8 +711,10 @@ static int dump_one_shmem(struct shmem_info *si)
again:
if (xfer.parent && page_in_parent(pgstate == PST_DIRTY))
ret = page_pipe_add_hole(pp, pgaddr);
else
else if (pgstate != PST_ZERO)
ret = page_pipe_add_page(pp, pgaddr);
else
ret = 0;
if (ret == -EAGAIN) {
ret = dump_pages(pp, &xfer, addr);
......
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