1 message in com.xensource.lists.xen-devel[Xen-devel] [patch 1/5] xen: blkfront...
FromSent OnAttachments
Jody Belka31 Jan 2005 14:32 
Subject:[Xen-devel] [patch 1/5] xen: blkfront vbd bugfix
From:Jody Belka (list@pimb.org)
Date:01/31/2005 02:32:29 PM
List:com.xensource.lists.xen-devel

Fix incorrect result-check in xlvbd_init_device

Signed-off-by: Jody Belka <knew@pimb.org>

diffstat: vbd.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

diff -durN xen.orig/linux-2.6.10-xen-sparse/drivers/xen/blkfront/vbd.c
xen/linux-2.6.10-xen-sparse/drivers/xen/blkfront/vbd.c --- xen.orig/linux-2.6.10-xen-sparse/drivers/xen/blkfront/vbd.c 2005-01-30
00:46:28.000000000 +0100 +++ xen/linux-2.6.10-xen-sparse/drivers/xen/blkfront/vbd.c 2005-01-31
17:55:19.140189608 +0100 @@ -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; }