From: Nicholas Bellinger Date: Thu, 1 Dec 2011 02:24:03 +0000 (-0800) Subject: target: Remove legacy device status check from transport_execute_tasks X-Git-Tag: v3.3-rc1~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d5b59756033c2a029bde7262bb5f8d45f4ca952;p=pandora-kernel.git target: Remove legacy device status check from transport_execute_tasks This patch removes a legacy se_dev_check_online() check from within transport_execute_tasks() that should no longer be necessary as transport_lookup_cmd_lun() is already making this call. Using transport_cmd_check_stop() from transport_execute_tasks() should already be checking per se_cmd context for each descriptor upon active I/O shutdown, so no need to acquire dev->dev_status_lock again while executing se_task submission. Cc: Christoph Hellwig Cc: Roland Dreier Cc: Joern Engel Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed