diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index 9480c55963ea..c0117dd4b9cc 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c | |||
@@ -4886,6 +4886,9 @@ lpfc_abort_handler(struct scsi_cmnd *cmnd) | |||
4886 | goto out_unlock; | 4886 | goto out_unlock; |
4887 | } | 4887 | } |
4888 | 4888 | ||
4889 | /* Indicate the IO is being aborted by the driver. */ | ||
4890 | iocb->iocb_flag |= LPFC_DRIVER_ABORTED; | ||
4891 | |||
4889 | /* | 4892 | /* |
4890 | * The scsi command can not be in txq and it is in flight because the | 4893 | * The scsi command can not be in txq and it is in flight because the |
4891 | * pCmd is still pointig at the SCSI command we have to abort. There | 4894 | * pCmd is still pointig at the SCSI command we have to abort. There |