ia64/xen-unstable

changeset 13217:f087c013cf12

[BLK] front: Fix free of event channel.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
author kaf24@localhost.localdomain
date Thu Dec 28 17:14:41 2006 +0000 (2006-12-28)
parents ede2f5280810
children e2392741cb91
files linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c	Thu Dec 28 17:11:31 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c	Thu Dec 28 17:14:41 2006 +0000
     1.3 @@ -384,6 +384,8 @@ static int blkfront_remove(struct xenbus
     1.4  
     1.5  	DPRINTK("blkfront_remove: %s removed\n", dev->nodename);
     1.6  
     1.7 +	xenbus_free_evtchn(dev, info->evtchn);
     1.8 +
     1.9  	blkif_free(info, 0);
    1.10  
    1.11  	kfree(info);