Call qemu_bh_delete at bdrv_aio_bh_cb.
commit6a7ad2998ca47711eddd191caa1a95f14459793f
authorDor Laor <dor@redhat.com>
Mon, 1 Jun 2009 09:07:23 +0000 (1 12:07 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:36:47 +0000 (16 15:36 -0500)
treeba03e9f24e7d91efccc67e17365262e7711ef50e
parent3fe5c14e7472f88dddf837a9faa60f6abb2ec6bf
Call qemu_bh_delete at bdrv_aio_bh_cb.

Also replave qemu_bh_cancel with qemu_bh_delete in bdrv_aio_cancel_em.
 Otherwise the bh will live forever in the bh list.

Signed-off-by: Dor Laor <dor@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block.c