On 14.09.21 14:24, Vladimir Sementsov-Ogievskiy wrote:
Check subcluster bitmap of the l2 entry for different types of
clusters:

  - for compressed it must be zero
  - for allocated check consistency of two parts of the bitmap
  - for unallocated all subclusters should be unallocated
    (or zero-plain)

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
Tested-by: Kirill Tkhai <ktk...@virtuozzo.com>
---
  block/qcow2-refcount.c | 28 ++++++++++++++++++++++++++--
  1 file changed, 26 insertions(+), 2 deletions(-)

Reviewed-by: Hanna Reitz <hre...@redhat.com>


Reply via email to