[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 12 of 12] backport 36afc451599175eb8f03f1962de74e7f7a8af4db



Backport 36afc451599175eb8f03f1962de74e7f7a8af4db from qemu upstream:

block: Clean up after deleting BHs

---

diff -r dd45a962f677 block.c
--- a/block.c   Fri Oct 02 14:43:36 2009 +0100
+++ b/block.c   Fri Oct 02 14:44:54 2009 +0100
@@ -1523,6 +1523,7 @@
     BlockDriverAIOCBSync *acb = opaque;
     acb->common.cb(acb->common.opaque, acb->ret);
     qemu_bh_delete(acb->bh);
+    acb->bh = NULL;
     qemu_aio_release(acb);
 }
 
@@ -1562,6 +1563,7 @@
 {
     BlockDriverAIOCBSync *acb = (BlockDriverAIOCBSync *)blockacb;
     qemu_bh_delete(acb->bh);
+    acb->bh = NULL;
     qemu_aio_release(acb);
 }
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.