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

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

diff -u --recursive --new-file v1.3.70/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -357,8 +357,10 @@
 	     || major == IDE3_MAJOR)
 	    && (req = blk_dev[major].current_request))
 	{
-		if (major != SCSI_DISK_MAJOR && major != SCSI_CDROM_MAJOR)
-			req = req->next;
+		if (major != SCSI_DISK_MAJOR &&
+		    major != SCSI_CDROM_MAJOR &&
+		    major != MD_MAJOR)
+		        req = req->next;
 
 		while (req) {
 			if (req->rq_dev == bh->b_dev &&

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this