Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a850ced4 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen
Browse files

scsi: libfc: do not send ABTS when resetting exchanges



When all exchanges are reset the upper layers have already logged out of
the remote port, so the exchanges can be reset without sending any ABTS.

Signed-off-by: default avatarHannes Reinecke <hare@suse.com>
Reviewed-by: default avatarChad Dupuis <chad.dupuis@qlogic.com>
Tested-by: default avatarChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 649eb869
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1837,7 +1837,6 @@ static void fc_exch_reset(struct fc_exch *ep)
	int rc = 1;

	spin_lock_bh(&ep->ex_lock);
	fc_exch_abort_locked(ep, 0);
	ep->state |= FC_EX_RST_CLEANUP;
	fc_exch_timer_cancel(ep);
	if (ep->esb_stat & ESB_ST_REC_QUAL)