patch-1.3.31 linux/drivers/scsi/sd.c

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

diff -u --recursive --new-file v1.3.30/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -1325,7 +1325,7 @@
          * Reset the blocksize for everything so that we can read
          * the partition table.
          */
-        blksize_size[MAJOR_NR][i] = 1024;
+        blksize_size[MAJOR_NR][minor] = 1024;
     };
     
 #ifdef MAYBE_REINIT

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