mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-23 22:25:40 +08:00
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/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>
This commit is contained in:
parent
b4de11dfb5
commit
122c81c563
@ -1220,6 +1220,7 @@ int bnx2fc_eh_abort(struct scsi_cmnd *sc_cmd)
|
|||||||
was a result from the ABTS request rather than the CLEANUP
|
was a result from the ABTS request rather than the CLEANUP
|
||||||
request */
|
request */
|
||||||
set_bit(BNX2FC_FLAG_IO_CLEANUP, &io_req->req_flags);
|
set_bit(BNX2FC_FLAG_IO_CLEANUP, &io_req->req_flags);
|
||||||
|
rc = FAILED;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user