commit | 9c8cce8e416b3286720379b5efa1c7fa81b2ec36 | [log] [tgz] |
---|---|---|
author | Robert Love <robert.w.love@intel.com> | Fri Apr 01 16:06:14 2011 -0700 |
committer | James Bottomley <James.Bottomley@suse.de> | Sun May 01 10:20:33 2011 -0500 |
tree | 3ce14481f433d990ba27bcdeaab9a1bbe9c84be0 | |
parent | 63ce2499947683dcc026373e24a4cb5a9d086e7d [diff] |
[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 <robert.w.love@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>