patch-2.2.0-pre8 linux/drivers/scsi/scsi_obsolete.c

Next file: linux/drivers/scsi/sd.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/scsi/scsi_obsolete.c linux/drivers/scsi/scsi_obsolete.c
@@ -671,7 +671,7 @@
 	    host_active = NULL;
 
 	    /* For block devices "wake_up" is done in end_scsi_request */
-	    if (!SCSI_BLK_MAJOR(SCpnt->request.rq_dev)) {
+	    if (!SCSI_BLK_MAJOR(MAJOR(SCpnt->request.rq_dev))) {
 		struct Scsi_Host * next;
 
 		for (next = host->block; next != host; next = next->block)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov