patch-2.3.1 linux/drivers/block/nbd.c
Next file: linux/drivers/block/ns87415.c
Previous file: linux/drivers/block/md.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 12 08:41:12 1999
- Orig file:
v2.3.0/linux/drivers/block/nbd.c
- Orig date:
Tue Mar 9 16:58:05 1999
diff -u --recursive --new-file v2.3.0/linux/drivers/block/nbd.c linux/drivers/block/nbd.c
@@ -75,7 +75,7 @@
nbdev = &nbd_dev[dev];
nbd_dev[dev].refcnt++;
if (!(nbdev->flags & NBD_INITIALISED)) {
- nbdev->queue_lock = MUTEX;
+ init_MUTEX(&nbdev->queue_lock);
nbdev->flags |= NBD_INITIALISED;
}
MOD_INC_USE_COUNT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)