Skip to contentSkip to conversation

bnx2fc: Return failure from bnx2fc_eh_abort() since io_req is already in abts processing

PATCH In review Javed Hasan 2 participants 2 messages May 18, 2021

Subsystems (2)
lore
Share & tools
lore

Javed Hasan

author maintainer
#0 lore raw

PATCH 1/1 bnx2fc: Return failure from bnx2fc_eh_abort() since io_req is already in abts processing

drivers/scsi/bnx2fc/bnx2fc_io.c +1 -0
index 1a0dc18d6915..ed300a279a38 100644
@@ -1220,6 +1220,7 @@ int bnx2fc_eh_abort(struct scsi_cmnd *sc_cmd)
 		   was a result from the ABTS request rather than the CLEANUP
 		   request */
 		set_bit(BNX2FC_FLAG_IO_CLEANUP,	&io_req->req_flags);
+		rc = FAILED;
 		goto done;
 	}
 
Signature · 1 line
2.18.2
#1 lore raw
Quoted 7 lines · Javed Hasan
drivers/scsi/bnx2fc/bnx2fc_io.c +0 -0
index 1a0dc18d6915..ed300a279a38 100644

drivers/scsi/bnx2fc/bnx2fc_io.c int bnx2fc_eh_abort(struct scsi_cmnd *sc_cmd) · line 1226

Quoted 7 lines
drivers/scsi/bnx2fc/bnx2fc_io.c +1 -0
@@ -1220,6 +1220,7 @@ int bnx2fc_eh_abort(struct scsi_cmnd *sc_cmd)
  		   was a result from the ABTS request rather than the CLEANUP
  		   request */
  		set_bit(BNX2FC_FLAG_IO_CLEANUP,	&io_req->req_flags);
+		rc = FAILED;
  		goto done;
  	}
 

Please resend as a git-formatted patch.

Signature · 1 line
Himanshu Madhani                                Oracle Linux Engineering