mirror: Fix aio context of mirror_top_bs
commit19dd29e8a77cd820515de5289f566508e0ed4926
authorFam Zheng <famz@redhat.com>
Fri, 7 Apr 2017 06:54:11 +0000 (7 14:54 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 7 Apr 2017 12:44:06 +0000 (7 14:44 +0200)
tree069acb65d303c4cb21563ff732a185c9bfe3a59a
parentbb2614e991d88166fccf4a26c7180ee39f39a48d
mirror: Fix aio context of mirror_top_bs

It should be moved to the same context as source, before inserting to the
graph.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/mirror.c