|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 6 of 7] blktap: Update tap state when failing ring mm
blktap: Update tap state when failing ring mmap.
Signed-off-by: Jake Wires <jake.wires@xxxxxxxxxx>
Signed-off-by: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
diff -r 699e1fad7561 -r 152ee0de9646 drivers/xen/blktap/ring.c
--- a/drivers/xen/blktap/ring.c Wed Jun 02 19:45:25 2010 -0700
+++ b/drivers/xen/blktap/ring.c Wed Jun 02 19:45:25 2010 -0700
@@ -324,6 +324,8 @@
free_page((unsigned long)sring);
kfree(map);
+ clear_bit(BLKTAP_RING_VMA, &tap->dev_inuse);
+
return -ENOMEM;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|