patch-2.2.14 linux/drivers/block/ll_rw_blk.c

Next file: linux/drivers/block/loop.c
Previous file: linux/drivers/block/ide.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -422,7 +422,6 @@
 	if (buffer_locked(bh))
 		return;
 	/* Maybe the above fixes it, and maybe it doesn't boot. Life is interesting */
-
 	lock_buffer(bh);
 
 	if (blk_size[major]) {
@@ -512,6 +511,8 @@
 	     case IDE5_MAJOR:
 	     case ACSI_MAJOR:
 	     case MFM_ACORN_MAJOR:
+             case MDISK_MAJOR:
+             case DASD_MAJOR:
 		/*
 		 * The scsi disk and cdrom drivers completely remove the request
 		 * from the queue when they start processing an entry.  For this
@@ -657,7 +658,6 @@
 		kdevname(bh[0]->b_dev), bh[0]->b_blocknr);
 		goto sorry;
 	}
-
 	/* Determine correct block size for this device.  */
 	correct_size = BLOCK_SIZE;
 	if (blksize_size[major]) {
@@ -896,6 +896,12 @@
 #endif
 #ifdef CONFIG_BLK_DEV_NBD
 	nbd_init();
+#endif
+#ifdef CONFIG_MDISK
+	mdisk_init();
+#endif
+#ifdef CONFIG_DASD
+	dasd_init();
 #endif
 	return 0;
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)