nbd: finish any pending coroutine
commit69152c09d337a8e1368e65bcd5a598def6c3079f
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Sun, 1 Dec 2013 21:23:45 +0000 (1 22:23 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 16 Dec 2013 09:12:20 +0000 (16 10:12 +0100)
tree1820616cec0a22c4d915703632702553d05cd692
parent5ad283ebb82c007f49535907874213cdb05c307a
nbd: finish any pending coroutine

Make sure all pending coroutines are finished when closing the session.

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
block/nbd-client.c