patch-2.1.103 linux/drivers/scsi/sr_vendor.c

Next file: linux/drivers/scsi/u14-34f.c
Previous file: linux/drivers/scsi/scsi_error.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/drivers/scsi/sr_vendor.c linux/drivers/scsi/sr_vendor.c
@@ -238,6 +238,7 @@
 		sector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame;
 		if (sector)
 			sector -= CD_MSF_OFFSET;
+		sr_set_blocklength(minor,2048);
 		break;
 	}
 

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