diff options
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r-- | drivers/scsi/ipr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 44ce9f5218a8..fc1171c7def4 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -3846,6 +3846,8 @@ static int __ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd) | |||
3846 | if (ipr_cmd->ioarcb.res_handle == res->cfgte.res_handle) { | 3846 | if (ipr_cmd->ioarcb.res_handle == res->cfgte.res_handle) { |
3847 | if (ipr_cmd->scsi_cmd) | 3847 | if (ipr_cmd->scsi_cmd) |
3848 | ipr_cmd->done = ipr_scsi_eh_done; | 3848 | ipr_cmd->done = ipr_scsi_eh_done; |
3849 | if (ipr_cmd->qc) | ||
3850 | ipr_cmd->done = ipr_sata_eh_done; | ||
3849 | if (ipr_cmd->qc && !(ipr_cmd->qc->flags & ATA_QCFLAG_FAILED)) { | 3851 | if (ipr_cmd->qc && !(ipr_cmd->qc->flags & ATA_QCFLAG_FAILED)) { |
3850 | ipr_cmd->qc->err_mask |= AC_ERR_TIMEOUT; | 3852 | ipr_cmd->qc->err_mask |= AC_ERR_TIMEOUT; |
3851 | ipr_cmd->qc->flags |= ATA_QCFLAG_FAILED; | 3853 | ipr_cmd->qc->flags |= ATA_QCFLAG_FAILED; |