Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47780
b: refs/heads/master
c: fd1b494
h: refs/heads/master
v: v3
  • Loading branch information
Luben Tuikov authored and James Bottomley committed Jan 31, 2007
1 parent 3bb682a commit 54b92c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b3b92116387fbea7b3b42553180984a544206d9
refs/heads/master: fd1b494d4a8147da4517fef72d15116bbb1a2dc7
5 changes: 5 additions & 0 deletions trunk/drivers/scsi/scsi_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,11 @@ static int scsi_check_sense(struct scsi_cmnd *scmd)
return SUCCESS;

case MEDIUM_ERROR:
if (sshdr.asc == 0x11 || /* UNRECOVERED READ ERR */
sshdr.asc == 0x13 || /* AMNF DATA FIELD */
sshdr.asc == 0x14) { /* RECORD NOT FOUND */
return SUCCESS;
}
return NEEDS_RETRY;

case HARDWARE_ERROR:
Expand Down

0 comments on commit 54b92c9

Please sign in to comment.