diff options
author | Robert Love <robert.w.love@intel.com> | 2011-04-02 03:06:14 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 19:20:33 +0400 |
commit | 9c8cce8e416b3286720379b5efa1c7fa81b2ec36 (patch) | |
tree | 3ce14481f433d990ba27bcdeaab9a1bbe9c84be0 /drivers/scsi/st.c | |
parent | 63ce2499947683dcc026373e24a4cb5a9d086e7d (diff) | |
download | linux-9c8cce8e416b3286720379b5efa1c7fa81b2ec36.tar.xz |
[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>
Diffstat (limited to 'drivers/scsi/st.c')
0 files changed, 0 insertions, 0 deletions