On 05/17/2016 10:51 AM, Kevin Wolf wrote:
> In order to correctly check whether a given cluster is read as zero, we
> don't only need to check whether bdrv_get_block_status_above() sets
> BDRV_BLOCK_ZERO, but also if all sectors for the whole cluster have the
> same status.
> 
> Signed-off-by: Kevin Wolf <[email protected]>
> ---
>  block/qcow2.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Reviewed-by: Eric Blake <[email protected]>

-- 
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