From: Robert Love Date: Fri, 1 Apr 2011 23:06:14 +0000 (-0700) Subject: [SCSI] libfc: Move host_lock usage into ramp_up/down routines X-Git-Tag: v3.0-rc1~383^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c8cce8e416b3286720379b5efa1c7fa81b2ec36;p=pandora-kernel.git [SCSI] libfc: Move host_lock usage into ramp_up/down routines The host_lock is still used to protect the can_queue value in the Scsi_Host, but it doesn't need to be held and released by each caller. This patch moves the lock usage into the fc_fcp_can_queue_ramp_up and fc_fcp_can_queue_ramp_down routines. Signed-off-by: Robert Love Tested-by: Ross Brattain Signed-off-by: James Bottomley --- Reading git-diff-tree failed