Skip to content
Snippets Groups Projects
Commit c26a5ab7 authored by Fam Zheng's avatar Fam Zheng Committed by Kevin Wolf
Browse files

block: Fix unpaired aio_disable_external in external snapshot


bdrv_replace_child_noperm tries to hand over the quiesce_counter state
from old bs to the new one, but if they are not on the same aio context
this causes unbalance.

Fix this by setting the correct aio context before calling
bdrv_append().

Reported-by: default avatarEd Swierk <eswierk@skyportsystems.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 1bf03e66
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment