Commit 1edb5b01 authored by Pavel Emelyanov's avatar Pavel Emelyanov

mem: Don't ignore memory tracking reset errors

Otherwise on non-soft-dirty kernel dump passes, but
produces broken image.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 2030f2df
......@@ -417,7 +417,7 @@ static int __parasite_dump_pages_seized(struct parasite_ctl *ctl,
* Step 4 -- clean up
*/
task_reset_dirty_track(ctl->pid.real);
ret = task_reset_dirty_track(ctl->pid.real);
out_pp:
if (ret || !pp_ret)
destroy_page_pipe(pp);
......
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