aio: Another fix to the walking_handlers logic
commit2db2bfc0ccac5fd68dbf0ceb70fbc372c5d8a8c7
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Sep 2012 13:57:43 +0000 (27 19:27 +0530)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Sep 2012 15:57:54 +0000 (28 17:57 +0200)
tree431af6bb4551199090c84cfe011fc1b56195cb72
parentca0defb95c69f88a905d64adbe253e7bb8fde14a
aio: Another fix to the walking_handlers logic

The AIO dispatch loop will call QLIST_REMOVE and g_free even if there
are other pending calls to qemu_aio_wait outside the current one.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
aio.c