diff options
| -rw-r--r-- | drivers/scsi/scsi_error.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index e9c451ba71fc..688bce740786 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c | |||
| @@ -776,9 +776,11 @@ retry_tur: | |||
| 776 | __FUNCTION__, scmd, rtn)); | 776 | __FUNCTION__, scmd, rtn)); |
| 777 | if (rtn == SUCCESS) | 777 | if (rtn == SUCCESS) |
| 778 | return 0; | 778 | return 0; |
| 779 | else if (rtn == NEEDS_RETRY) | 779 | else if (rtn == NEEDS_RETRY) { |
| 780 | if (retry_cnt--) | 780 | if (retry_cnt--) |
| 781 | goto retry_tur; | 781 | goto retry_tur; |
| 782 | return 0; | ||
| 783 | } | ||
| 782 | return 1; | 784 | return 1; |
| 783 | } | 785 | } |
| 784 | 786 | ||
