[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix block backend teardown when the device didn't setup completely.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID 1c515c7072969884e61aff5367c47e6641e015f3 # Parent 4146dbea47e1b093699fe45690832488742ec02d Fix block backend teardown when the device didn't setup completely. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> diff -r 4146dbea47e1 -r 1c515c707296 linux-2.6-xen-sparse/drivers/xen/blkback/interface.c --- a/linux-2.6-xen-sparse/drivers/xen/blkback/interface.c Sat Dec 3 12:21:52 2005 +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/interface.c Sat Dec 3 12:36:22 2005 @@ -123,11 +123,10 @@ blkif_t *blkif = (blkif_t *)arg; /* Already disconnected? */ - if (!blkif->irq) - return; - - unbind_from_irqhandler(blkif->irq, blkif); - blkif->irq = 0; + if (blkif->irq) { + unbind_from_irqhandler(blkif->irq, blkif); + blkif->irq = 0; + } vbd_free(&blkif->vbd); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |