[PATCH] 2.4.23-rc3 fix scsi disk targets over 1TB to not EIO

From: Adam Radford
Date: Wed Nov 19 2003 - 18:31:49 EST


diff -Naur linux-2.4.23-rc2/drivers/scsi/sd.c linux-2.4.23-rc3/drivers/scsi/sd.c
--- linux-2.4.23-rc2/drivers/scsi/sd.c Mon Aug 25 04:44:42 2003
+++ linux-2.4.23-rc3/drivers/scsi/sd.c Wed Nov 19 15:15:38 2003
@@ -294,7 +294,8 @@

static int sd_init_command(Scsi_Cmnd * SCpnt)
{
- int dev, block, this_count;
+ int dev, this_count;
+ unsigned long block;
struct hd_struct *ppnt;
Scsi_Disk *dpnt;
#if CONFIG_SCSI_LOGGING
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/