qcow2: Clear the L2 bitmap when allocating a compressed cluster
commitff4cdec7f6e7302d2a82fdb627373c32aecb3dfe
authorAlberto Garcia <berto@igalia.com>
Fri, 10 Jul 2020 16:13:08 +0000 (10 18:13 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 25 Aug 2020 06:33:20 +0000 (25 08:33 +0200)
treec593312403ef3c10adf2e141030c710a021a4c6f
parentaca00cd971c830ad2a71cc881db33275d0a4107c
qcow2: Clear the L2 bitmap when allocating a compressed cluster

Compressed clusters always have the bitmap part of the extended L2
entry set to 0.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <04455b3de5dfeb9d1cfe1fc7b02d7060a6e09710.1594396418.git.berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-cluster.c