isci: Manage the IREQ_NO_AUTO_FREE_TAG under scic_lock.
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Tue, 13 Mar 2012 00:29:51 +0000 (17:29 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 17 May 2012 21:33:44 +0000 (14:33 -0700)
commit3ef768c6c0caa83b9fe66f19a18898ed0315ac36
treecf8233efe91dfac3232f06a51f58c4e4c5a508b3
parentf8381807ebdfffa34c2c5aa38eda33673d1a7adf
isci: Manage the IREQ_NO_AUTO_FREE_TAG under scic_lock.

Since there is a possibilty of a timeout waiting for the RNC suspension,
handle the exit case from the task termination under scic_lock, and leave
the tag allocated if the termination timed-out.

Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/remote_device.c