patch-2.3.2 linux/drivers/scsi/sr_ioctl.c
Next file: linux/drivers/sound/dev_table.h
Previous file: linux/drivers/scsi/sg.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Fri May 14 16:04:36 1999
- Orig file:
v2.3.1/linux/drivers/scsi/sr_ioctl.c
- Orig date:
Fri May 14 18:55:22 1999
diff -u --recursive --new-file v2.3.1/linux/drivers/scsi/sr_ioctl.c linux/drivers/scsi/sr_ioctl.c
@@ -122,11 +122,9 @@
if (!quiet)
printk(KERN_ERR "sr%d: CDROM (ioctl) reports ILLEGAL "
"REQUEST.\n", target);
- if ((SCpnt->sense_buffer[12] == 0x20 ||
- SCpnt->sense_buffer[12] == 0x24) &&
+ if (SCpnt->sense_buffer[12] == 0x20 &&
SCpnt->sense_buffer[13] == 0x00) {
/* sense: Invalid command operation code */
- /* or Invalid field in cdb */
err = -EDRIVE_CANT_DO_THIS;
} else {
err = -EINVAL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)