Re: [Qemu-devel] [PATCH v8 05/17] qcow2: Use sizeof(**refcount_table)

2014-10-22 Thread Eric Blake
On 10/22/2014 06:09 AM, Max Reitz wrote: > 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. >

[Qemu-devel] [PATCH v8 05/17] qcow2: Use sizeof(**refcount_table)

2014-10-22 Thread Max Reitz
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 --- block/qcow2-refcount