aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/host.c')
-rw-r--r--drivers/scsi/isci/host.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c
index 53c3ad64c998..ef2790faeab8 100644
--- a/drivers/scsi/isci/host.c
+++ b/drivers/scsi/isci/host.c
@@ -1141,7 +1141,8 @@ void isci_host_completion_routine(unsigned long data)
1141 if (test_and_clear_bit(IREQ_ABORT_PATH_ACTIVE, &request->flags)) 1141 if (test_and_clear_bit(IREQ_ABORT_PATH_ACTIVE, &request->flags))
1142 wake_up_all(&ihost->eventq); 1142 wake_up_all(&ihost->eventq);
1143 1143
1144 isci_free_tag(ihost, request->io_tag); 1144 if (!test_bit(IREQ_NO_AUTO_FREE_TAG, &request->flags))
1145 isci_free_tag(ihost, request->io_tag);
1145 } 1146 }
1146 spin_unlock_irq(&ihost->scic_lock); 1147 spin_unlock_irq(&ihost->scic_lock);
1147 1148