summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-9xxx.h
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2021-05-25 20:18:08 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-06-02 07:28:21 +0200
commitf6f9645744702f4690e884e86523a7ce1895e221 (patch)
treea4af66f807ebe1f9720b14e32ce1336159d84bb8 /drivers/scsi/3w-9xxx.h
parentscsi: iscsi: Fix shost->max_id use (diff)
downloadlinux-f6f9645744702f4690e884e86523a7ce1895e221.tar.xz
linux-f6f9645744702f4690e884e86523a7ce1895e221.zip
scsi: iscsi: Fix completion check during abort races
We have a ref to the task being aborted, so SCp.ptr will never be NULL. We need to use iscsi_task_is_completed to check for the completed state. Link: https://lore.kernel.org/r/20210525181821.7617-16-michael.christie@oracle.com Reviewed-by: Lee Duncan <lduncan@suse.com> Signed-off-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/3w-9xxx.h')
0 files changed, 0 insertions, 0 deletions