qcow2: Use macros for the L1, refcount and bitmap table entry sizes
commit02b1ecfa100e7ecc2306560cd27a4a2622bfeb04
authorAlberto Garcia <berto@igalia.com>
Fri, 28 Aug 2020 11:08:28 +0000 (28 13:08 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 15 Sep 2020 09:05:12 +0000 (15 11:05 +0200)
treefd2067510fcef3381b01bae8719756e27533c9a0
parentaf8d43d3933a4bec0977b9f33d69443a2d166861
qcow2: Use macros for the L1, refcount and bitmap table entry sizes

This patch replaces instances of sizeof(uint64_t) in the qcow2 driver
with macros that indicate what those sizes are actually referring to.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-Id: <20200828110828.13833-1-berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-bitmap.c
block/qcow2-cluster.c
block/qcow2-refcount.c
block/qcow2-snapshot.c
block/qcow2.c
block/qcow2.h