diff options
author | James.Smart@Emulex.Com <James.Smart@Emulex.Com> | 2005-06-25 10:34:30 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-02 19:57:22 -0400 |
commit | 5eb95af086f5d2e554bb119f3cb71f7ca38bfe85 (patch) | |
tree | d969d2f0e53b4c5289ff2acc4c141bf246866ac2 /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 1f679cafd2d02b7076e9045d9c4fb77ef8d059f2 (diff) |
[SCSI] lpfc: Add completion handler to the abort iocbs
Add completion handler to the abort iocbs to close a hole where we
could reuse an iotag.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index 4c1ab21f3071..c1692e69e755 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c | |||
@@ -874,6 +874,7 @@ __lpfc_abort_handler(struct scsi_cmnd *cmnd) | |||
874 | else | 874 | else |
875 | icmd->ulpCommand = CMD_CLOSE_XRI_CN; | 875 | icmd->ulpCommand = CMD_CLOSE_XRI_CN; |
876 | 876 | ||
877 | abtsiocb->iocb_cmpl = lpfc_sli_abort_fcp_cmpl; | ||
877 | if (lpfc_sli_issue_iocb(phba, pring, abtsiocb, 0) == | 878 | if (lpfc_sli_issue_iocb(phba, pring, abtsiocb, 0) == |
878 | IOCB_ERROR) { | 879 | IOCB_ERROR) { |
879 | list_add_tail(&abtsiocb->list, lpfc_iocb_list); | 880 | list_add_tail(&abtsiocb->list, lpfc_iocb_list); |