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

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

diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -1749,7 +1749,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