patch-2.3.50 linux/drivers/block/nbd.c
Next file: linux/drivers/cdrom/cdrom.c
Previous file: linux/drivers/block/ide.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri Mar 3 21:28:38 2000
- Orig file:
v2.3.49/linux/drivers/block/nbd.c
- Orig date:
Sun Feb 20 21:12:38 2000
diff -u --recursive --new-file v2.3.49/linux/drivers/block/nbd.c linux/drivers/block/nbd.c
@@ -77,6 +77,7 @@
nbd_dev[dev].refcnt++;
if (!(nbdev->flags & NBD_INITIALISED)) {
init_MUTEX(&nbdev->queue_lock);
+ INIT_LIST_HEAD(&nbdev->queue_head);
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)