[SCSI] Remove SUGGEST flags
The SUGGEST_* flags in the SCSI command result have been out of fashion for a while and we don't actually use them in the error handling. Remove the remaining occurrences. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
committed by
James Bottomley
parent
5a9ef25b14
commit
1c9fbafc8c
@ -259,7 +259,7 @@ static void fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp)
|
||||
}
|
||||
|
||||
fsp->state &= ~FC_SRB_ABORT_PENDING;
|
||||
fsp->io_status = SUGGEST_RETRY << 24;
|
||||
fsp->io_status = 0;
|
||||
fsp->status_code = FC_ERROR;
|
||||
fc_fcp_complete_locked(fsp);
|
||||
}
|
||||
@ -859,7 +859,7 @@ static void fc_fcp_complete_locked(struct fc_fcp_pkt *fsp)
|
||||
(!(fsp->scsi_comp_flags & FCP_RESID_UNDER) ||
|
||||
fsp->xfer_len < fsp->data_len - fsp->scsi_resid)) {
|
||||
fsp->status_code = FC_DATA_UNDRUN;
|
||||
fsp->io_status = SUGGEST_RETRY << 24;
|
||||
fsp->io_status = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1267,7 +1267,7 @@ static void fc_fcp_rec(struct fc_fcp_pkt *fsp)
|
||||
rp = rport->dd_data;
|
||||
if (!fsp->seq_ptr || rp->rp_state != RPORT_ST_READY) {
|
||||
fsp->status_code = FC_HRD_ERROR;
|
||||
fsp->io_status = SUGGEST_RETRY << 24;
|
||||
fsp->io_status = 0;
|
||||
fc_fcp_complete_locked(fsp);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user