summaryrefslogtreecommitdiff
path: root/drivers/scsi/st.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-06-17 20:37:30 -0700
committerRoland Dreier <rolandd@cisco.com>2006-06-17 20:37:30 -0700
commitb3589fd49067bab9fe0c60430860e6befbd5ba37 (patch)
treebe054dba4fd5d39e4af03d18e1d57d3b88033ca7 /drivers/scsi/st.c
parent549c5fc2c8149498118f2494a1b6a4938ca05985 (diff)
IB/srp: Change target_mutex to a spinlock
The SRP driver never sleeps while holding target_mutex, and it's just used to protect some simple list operations, so hold times will be short. So just convert it to a spinlock, which is smaller and faster. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/scsi/st.c')
0 files changed, 0 insertions, 0 deletions