commit | 78fb328e854542d79bebe54f3a426cba6d46dbf1 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Oct 22 14:09:31 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Oct 23 15:34:01 2014 +0200 |
tree | e6f740f8dfbbe737ccd0689c0656d3a9a4d87710 | |
parent | 6ca56bf5e90aa167395727667d17c699950c545c [diff] |
qcow2: Use sizeof(**refcount_table) When implementing variable refcounts, we want to be able to easily find all the places in qemu which are tied to a certain refcount order. Replace sizeof(uint16_t) in the check code by sizeof(**refcount_table) so we can later find it more easily. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>