Skip to content

Commit 122c81c

Browse files
javed-hmartinkpetersen
authored andcommitted
scsi: bnx2fc: Return failure if io_req is already in ABTS processing
Return failure from bnx2fc_eh_abort() if io_req is already in ABTS processing. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Javed Hasan <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent b4de11d commit 122c81c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/bnx2fc/bnx2fc_io.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,7 @@ int bnx2fc_eh_abort(struct scsi_cmnd *sc_cmd)
12201220
was a result from the ABTS request rather than the CLEANUP
12211221
request */
12221222
set_bit(BNX2FC_FLAG_IO_CLEANUP, &io_req->req_flags);
1223+
rc = FAILED;
12231224
goto done;
12241225
}
12251226

0 commit comments

Comments
 (0)