summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf2016-06-06 12:53:22 +0200
committerKevin Wolf2016-06-08 10:21:09 +0200
commit2a9170bcd4980cdd75791f3aa0f762c5e53334bb (patch)
tree0c9d5386cd8e5c4350559d8d9fdd762a20ff21c9 /include
parentqcow2: avoid extra flushes in qcow2 (diff)
downloadqemu-2a9170bcd4980cdd75791f3aa0f762c5e53334bb.tar.gz
qemu-2a9170bcd4980cdd75791f3aa0f762c5e53334bb.tar.xz
qemu-2a9170bcd4980cdd75791f3aa0f762c5e53334bb.zip
block: Fix bdrv_all_delete_snapshot() error handling
The code to exit the loop after bdrv_snapshot_delete_by_id_or_name() returned failure was duplicated. The first copy of it was too early so that the AioContext lock would not be freed. This patch removes it so that only the second, correct copy remains. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions