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

[Xen-changelog] [xen-unstable] [BLK] front: Fix free of event channel.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxxx
# Date 1167326081 0
# Node ID f087c013cf128e68bbba71493a448b1a0ab58908
# Parent  ede2f5280810789c3cb37603cf2e6b34c60982b1
[BLK] front: Fix free of event channel.
Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@xxxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r ede2f5280810 -r f087c013cf12 
linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c      Thu Dec 28 
17:11:31 2006 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c      Thu Dec 28 
17:14:41 2006 +0000
@@ -384,6 +384,8 @@ static int blkfront_remove(struct xenbus
 
        DPRINTK("blkfront_remove: %s removed\n", dev->nodename);
 
+       xenbus_free_evtchn(dev, info->evtchn);
+
        blkif_free(info, 0);
 
        kfree(info);

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


 


Rackspace

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