hbitmap: Rename serialization_granularity to serialization_align
commitecbfa2817d61fd102d291487ec1e61571b3b6581
authorEric Blake <eblake@redhat.com>
Mon, 25 Sep 2017 14:55:08 +0000 (25 09:55 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Oct 2017 14:28:58 +0000 (6 16:28 +0200)
tree501d6b0ebf2293a6e2ff512af049250c253352e9
parenta8b42a1c09e751b9f921a1a73756411fc118020b
hbitmap: Rename serialization_granularity to serialization_align

The only client of hbitmap_serialization_granularity() is dirty-bitmap's
bdrv_dirty_bitmap_serialization_align().  Keeping the two names consistent
is worthwhile, and the shorter name is more representative of what the
function returns (the required alignment to be used for start/count of
other serialization functions, where violating the alignment causes
assertion failures).

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/dirty-bitmap.c
include/qemu/hbitmap.h
tests/test-hbitmap.c
util/hbitmap.c