qcow2: Repair unaligned preallocated zero clusters
commitac5b787a6ee57852021e4a5a6876759218fbbbb0
authorMax Reitz <mreitz@redhat.com>
Fri, 10 Nov 2017 20:37:59 +0000 (10 21:37 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 23 Jan 2018 11:34:42 +0000 (23 12:34 +0100)
treef807b20f911cbf545479b0d2f3b727adbe55b7ed
parent7c3a3028596db5e142c6fc9644800a0ec3b073fd
qcow2: Repair unaligned preallocated zero clusters

We can easily repair unaligned preallocated zero clusters by discarding
them, so why not do it?

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20171110203759.14018-2-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-refcount.c
tests/qemu-iotests/060
tests/qemu-iotests/060.out