-
Hanna Reitz authored
Instead of fprint()-ing error messages in rebuild_refcount_structure() and its rebuild_refcounts_write_refblocks() helper, pass them through an Error object to qcow2_check_refcounts() (which will then print it). Suggested-by:
Eric Blake <eblake@redhat.com>
Signed-off-by:
Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220405134652.19278-4-hreitz@redhat.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>Hanna Reitz authoredInstead of fprint()-ing error messages in rebuild_refcount_structure() and its rebuild_refcounts_write_refblocks() helper, pass them through an Error object to qcow2_check_refcounts() (which will then print it). Suggested-by:
Eric Blake <eblake@redhat.com>
Signed-off-by:
Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220405134652.19278-4-hreitz@redhat.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>
Loading