Skip to content

Commit

Permalink
scsi: bnx2fc: Return failure if io_req is already in ABTS processing
Browse files Browse the repository at this point in the history
[ Upstream commit 122c81c ]

Return failure from bnx2fc_eh_abort() if io_req is already in ABTS
processing.

Link: https://lore.kernel.org/r/20210519061416.19321-1-jhasan@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
javed-h authored and gregkh committed Jun 16, 2021
1 parent 81c4d1d commit e573390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/bnx2fc/bnx2fc_io.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit e573390

Please sign in to comment.