summaryrefslogtreecommitdiff
path: root/drivers/scsi/fcoe/fcoe_transport.c
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2011-04-01 16:06:14 -0700
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 10:20:33 -0500
commit9c8cce8e416b3286720379b5efa1c7fa81b2ec36 (patch)
tree3ce14481f433d990ba27bcdeaab9a1bbe9c84be0 /drivers/scsi/fcoe/fcoe_transport.c
parent63ce2499947683dcc026373e24a4cb5a9d086e7d (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>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe_transport.c')
0 files changed, 0 insertions, 0 deletions