From 4ad6f3db7db154d5274274bd0079d6318367ab16 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Fri, 13 Nov 2015 15:00:24 +0200 Subject: block: Call external_snapshot_clean after blockdev-snapshot Otherwise the AioContext will never be released. Signed-off-by: Alberto Garcia Message-id: 1447419624-21918-1-git-send-email-berto@igalia.com Reviewed-by: Fam Zheng Signed-off-by: Max Reitz --- blockdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/blockdev.c b/blockdev.c index 07c1741214..313841b0b4 100644 --- a/blockdev.c +++ b/blockdev.c @@ -2098,6 +2098,7 @@ static const BlkActionOps actions[] = { .prepare = external_snapshot_prepare, .commit = external_snapshot_commit, .abort = external_snapshot_abort, + .clean = external_snapshot_clean, }, [TRANSACTION_ACTION_KIND_BLOCKDEV_SNAPSHOT_SYNC] = { .instance_size = sizeof(ExternalSnapshotState), -- cgit v1.2.3