xen: blkfront vbd bugfix
PATCH 1/5 xen: blkfront vbd bugfix
Fix incorrect result-check in xlvbd_init_device
Signed-off-by Jody Belka <[email protected]>
diffstat:
vbd.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
linux-2.6.10-xen-sparse/drivers/xen/blkfront/vbd.c +1 -1
@@ -317,7 +317,7 @@down (&bd->bd_sem); gd =xlvbd_get_gendisk (mi, minor, xd); -if (mi ==NULL ) { +if (gd ==NULL ) { err = -EPERM ; goto out; }
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl