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

mem: handle errors of page_xfer_dump_pages()

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d86d0f14
...@@ -412,6 +412,8 @@ static int __parasite_dump_pages_seized(struct parasite_ctl *ctl, ...@@ -412,6 +412,8 @@ static int __parasite_dump_pages_seized(struct parasite_ctl *ctl,
goto out_pp; goto out_pp;
ret = page_xfer_dump_pages(&xfer, pp, 0); ret = page_xfer_dump_pages(&xfer, pp, 0);
if (ret < 0)
goto out_pp;
xfer.close(&xfer); xfer.close(&xfer);
timing_stop(TIME_MEMWRITE); timing_stop(TIME_MEMWRITE);
......
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