diff options
-rw-r--r-- | drivers/scsi/scsi_error.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 8e5011d13a18..2dce06a58c08 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c | |||
@@ -359,6 +359,11 @@ static int scsi_check_sense(struct scsi_cmnd *scmd) | |||
359 | return SUCCESS; | 359 | return SUCCESS; |
360 | 360 | ||
361 | case MEDIUM_ERROR: | 361 | case MEDIUM_ERROR: |
362 | if (sshdr.asc == 0x11 || /* UNRECOVERED READ ERR */ | ||
363 | sshdr.asc == 0x13 || /* AMNF DATA FIELD */ | ||
364 | sshdr.asc == 0x14) { /* RECORD NOT FOUND */ | ||
365 | return SUCCESS; | ||
366 | } | ||
362 | return NEEDS_RETRY; | 367 | return NEEDS_RETRY; |
363 | 368 | ||
364 | case HARDWARE_ERROR: | 369 | case HARDWARE_ERROR: |