block: Use normal drain for bdrv_set_aio_context()
commitd70d595429ecd9ac4917e53453dd8979db8e5ffd
authorKevin Wolf <kwolf@redhat.com>
Fri, 8 Feb 2019 15:53:37 +0000 (8 16:53 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 25 Feb 2019 14:03:19 +0000 (25 15:03 +0100)
treebe89e6de257b5ad98488c7e3c6c00bec2b5db75b
parent247d2737715833525725d27e5cecf5840c62f900
block: Use normal drain for bdrv_set_aio_context()

Now that bdrv_set_aio_context() works inside drained sections, it can
also use the real drain function instead of open coding something
similar.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c