isci: debug fixes
authorDan Williams <dan.j.williams@intel.com>
Fri, 18 Feb 2011 17:25:15 +0000 (09:25 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 10:55:27 +0000 (03:55 -0700)
commit83f5eeef59581faed6f002432bafe24da8cbf401
tree808ffa79326870d33782b4d24e0120ba2508e785
parent83e514301ec73b16fb258618c9f9b443cca3744a
isci: debug fixes

Some of the chain walks to get back to our dev are invalid.

isci_remote_device_change_state: delete rather than adding conditional deref
chain walking
isci_request_change_state: fix, it was being called too early
isci_request_ssp_io_request_get_lun: fix compile breakage hidden by ifdef DEBUG

Signed-off-by: Maciej Trela <maciej.trela@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/remote_device.c
drivers/scsi/isci/request.c