bitkeeper revision 1.1159.223.55 (41fffadb9KX8y2tjTwUVGZRrZQdJ2g)

Fix incorrect result-check in xlvbd_init_device

Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
This commit is contained in:
iap10@labyrinth.cl.cam.ac.uk committed 2005-02-01 21:55:39 +00:00
1 parent 4baf6e1ed5
commit bae735390f
1 file changed
+1 -1
@@ -317,7 +317,7 @@ static int xlvbd_init_device(vdisk_t *xd)
down(&bd->bd_sem);
gd = xlvbd_get_gendisk(mi, minor, xd);
if (mi == NULL) {
if (gd == NULL) {
err = -EPERM;
goto out;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.