qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v8 05/17] qcow2: Use sizeof(**refcount_table)
Date: Wed, 22 Oct 2014 08:38:40 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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.
> 
> Signed-off-by: Max Reitz <address@hidden>
> ---
>  block/qcow2-refcount.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]