]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2-bitmap.c
qcow2: Switch sectors_covered_by_bitmap_cluster() to byte-based
authorEric Blake <eblake@redhat.com>
Mon, 25 Sep 2017 14:55:15 +0000 (09:55 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Oct 2017 14:28:58 +0000 (16:28 +0200)
commitc7e7c87ac8e03fe088f4b1f820da30e85a07fd6b
tree802b42fd09874aa2b2cf84bc1b57a3e93d72904b
parent86f6ae67e157362f3b141649874213ce01dcc622
qcow2: Switch sectors_covered_by_bitmap_cluster() to byte-based

We are gradually converting to byte-based interfaces, as they are
easier to reason about than sector-based.  Change the qcow2 bitmap
helper function sectors_covered_by_bitmap_cluster(), renaming it
to bytes_covered_by_bitmap_cluster() in the process.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-bitmap.c