mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[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>
This commit is contained in:
1 parent
b8da5b43b1
commit
b842346faa
1 file changed
+2
@@ -384,6 +384,8 @@ static int blkfront_remove(struct xenbus_device *dev)
|
||||
|
||||
DPRINTK("blkfront_remove: %s removed\n", dev->nodename);
|
||||
|
||||
xenbus_free_evtchn(dev, info->evtchn);
|
||||
|
||||
blkif_free(info, 0);
|
||||
|
||||
kfree(info);
|
||||
|
||||