Small patch for sd.c:requeue_sd_request

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
30 Sep 1998 11:02:27 +0200


Here is a trivial patch for requeue_sd_request that just fixes one
debugging message. The argument of sd_devname is supposed to be the SCSI
disk number without partition, ie. minor/16.

--- linux/drivers/scsi/sd.c.~1~ Wed Sep 30 10:58:33 1998
+++ linux/drivers/scsi/sd.c Wed Sep 30 10:59:35 1998
@@ -675,7 +675,7 @@
goto repeat;
}

- sd_devname(devm, nbuff);
+ sd_devname(devm >> 4, nbuff);
SCSI_LOG_HLQUEUE(2,printk("%s : real dev = /dev/%d, block = %d\n",
nbuff, dev, block));

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/