From: Dan Williams Date: Thu, 16 Jun 2011 18:26:12 +0000 (-0700) Subject: isci: kill isci_remote_device_change_state() X-Git-Tag: v3.0-rc6~1^2~1^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2088267514b39af1a94409168101527769a911c;p=pandora-kernel.git isci: kill isci_remote_device_change_state() Now that "stopping/stopped" are one in the same and signalled by a NULL device pointer the rest of the device status infrastructure can be removed (->status and ->state_lock). The "not ready for i/o state" is replaced with a state flag, and is evaluated under scic_lock so that we don't see transients from taking the device reference to submitting the i/o. This also fixes a potential leakage of can_queue slots in the rare case that SAS_TASK_ABORTED is set at submission. Signed-off-by: Dan Williams --- Reading git-diff-tree failed