/* Sets the status code to be FC_ERROR and then calls fc_fcp_complete_locked() which in turn calls fc_io_compl(). fc_io_compl() will notify the SCSI-ml that the I/O is done. The SCSI-ml will retry the command.  */
static void fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp)
/* Sets the status code to be FC_ERROR and then calls fc_fcp_complete_locked() which in turn calls fc_io_compl(). fc_io_compl() will notify the SCSI-ml that the I/O is done. The SCSI-ml will retry the command.  */
static void fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp)
{
	if (fsp->seq_ptr) {
		fsp->lp->tt.exch_done(fsp->seq_ptr);
		fsp->seq_ptr = NULL;
	}
	fsp->state &= ~FC_SRB_ABORT_PENDING;
	fsp->io_status = 0;
	fsp->status_code = FC_ERROR;
	fc_fcp_complete_locked(fsp);
}