block: add missing call to bdrv_drain_recurse
commit9dcf8ecd9e74804aa1687e5688386001a1f3f89f
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Dec 2015 10:48:25 +0000 (23 11:48 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 9 Feb 2016 13:52:26 +0000 (9 13:52 +0000)
tree1cc74ac9cf1a6b3d2b95b10cba872b0920610867
parent794f01414f9f4c4d0c6f1961154674961941c197
block: add missing call to bdrv_drain_recurse

This is also needed in bdrv_drain_all, not just in bdrv_drain.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1450867706-19860-3-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/io.c