diff options
author | Max Reitz | 2020-02-25 15:31:28 +0100 |
---|---|---|
committer | Kevin Wolf | 2020-03-06 17:15:37 +0100 |
commit | 3ede935fdbbd5f7b24b4724bbfb8938acb5956d8 (patch) | |
tree | 531fa0a3f95fdc9453fb3f8bebfedf1fde0b9f41 /tests/qemu-iotests/026 | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-docs-20200306' into ... (diff) | |
download | qemu-3ede935fdbbd5f7b24b4724bbfb8938acb5956d8.tar.gz qemu-3ede935fdbbd5f7b24b4724bbfb8938acb5956d8.tar.xz qemu-3ede935fdbbd5f7b24b4724bbfb8938acb5956d8.zip |
qcow2: Fix alloc_cluster_abort() for pre-existing clusters
handle_alloc() reuses preallocated zero clusters. If anything goes
wrong during the data write, we do not change their L2 entry, so we
must not let qcow2_alloc_cluster_abort() free them.
Fixes: 8b24cd141549b5b264baeddd4e72902cfb5de23b
Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200225143130.111267-2-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/026')
0 files changed, 0 insertions, 0 deletions