]> Git Repo - qemu.git/commit
qcow2: Add errp to rebuild_refcount_structure()
authorHanna Reitz <[email protected]>
Tue, 5 Apr 2022 13:46:52 +0000 (15:46 +0200)
committerHanna Reitz <[email protected]>
Wed, 20 Apr 2022 10:09:17 +0000 (12:09 +0200)
commit0423f75351ab83b844a31349218b0eadd830e07a
treea1a6b2c735135e967f8e705ce5113d66c72075b2
parent9ffd6d646d1d5ee9087a8cbf0b7d2f96c5656162
qcow2: Add errp to rebuild_refcount_structure()

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 <[email protected]>
Signed-off-by: Hanna Reitz <[email protected]>
Message-Id: <20220405134652[email protected]>
Reviewed-by: Eric Blake <[email protected]>
block/qcow2-refcount.c
This page took 0.022565 seconds and 4 git commands to generate.