patch-2.4.19 linux-2.4.19/drivers/scsi/sr_ioctl.c
Next file: linux-2.4.19/drivers/scsi/sun3_NCR5380.c
Previous file: linux-2.4.19/drivers/scsi/sr.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/scsi/sr_ioctl.c
- Orig date:
Mon Oct 15 13:27:42 2001
diff -urN linux-2.4.18/drivers/scsi/sr_ioctl.c linux-2.4.19/drivers/scsi/sr_ioctl.c
@@ -48,7 +48,7 @@
if (ti->cdti_trk1 == ntracks)
ti->cdti_trk1 = CDROM_LEADOUT;
- else
+ else if (ti->cdti_trk1 != CDROM_LEADOUT)
ti->cdti_trk1 ++;
trk0_te.cdte_track = ti->cdti_trk0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)