]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2-refcount: introduce fix_l2_entry_by_zero()
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 14 Sep 2021 12:24:48 +0000 (15:24 +0300)
committerHanna Reitz <hreitz@redhat.com>
Wed, 15 Sep 2021 16:42:38 +0000 (18:42 +0200)
commita2debf6506266cc65014a1964c71059dce7b0118
tree3d1651f4228feab68d021688262f859aa71cd8fa
parenta6e098462ba6d8585a6f21729b406ab51a70eb03
qcow2-refcount: introduce fix_l2_entry_by_zero()

Split fix_l2_entry_by_zero() out of check_refcounts_l2() to be
reused in further patch.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20210914122454.141075-5-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/qcow2-refcount.c