patch-2.4.21 linux-2.4.21/drivers/scsi/scsi_lib.c

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

diff -urN linux-2.4.20/drivers/scsi/scsi_lib.c linux-2.4.21/drivers/scsi/scsi_lib.c
@@ -695,6 +695,8 @@
 		 */
 
 		switch (SCpnt->sense_buffer[2]) {
+		case RECOVERED_ERROR: /* Added, KG, 2003-01-20 */
+			return;
 		case ILLEGAL_REQUEST:
 			if (SCpnt->device->ten && SCSI_RETRY_10(SCpnt->cmnd[0])) {
 				SCpnt->device->ten = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)