]> git.proxmox.com Git - qemu.git/commit
qcow2: Ignore reserved bits in count_contiguous_clusters()
authorKevin Wolf <kwolf@redhat.com>
Thu, 15 Mar 2012 15:37:40 +0000 (16:37 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 20 Apr 2012 13:57:27 +0000 (15:57 +0200)
commit2bfcc4a0a0b5120b6518e1c823c18cf0e8b963cb
treec2c246628e4a98043b6d4040196d91acf7ae7db2
parent68d000a39074fe3888680491444a7fde2354cd84
qcow2: Ignore reserved bits in count_contiguous_clusters()

Until now, count_contiguous_clusters() has an argument that allowed to
specify flags that should be ignored in the comparison, i.e. that are
allowed to change between contiguous clusters.

This patch changes the function so that it ignores all flags by default
now and you need to pass the flags on which it should stop.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c