aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2012-11-17 12:45:47 +0100
committerMiklos Szeredi <[email protected]>2013-01-17 13:04:51 +0100
commit8ce03fd76d323526a693d05d85296ef07a387a9f (patch)
treeb1370c17b55e60dfc8faa8b6a8dae2b394199ce9 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentdfdebc24837ed0a1d6ad73b108a10d3c88d1b6e8 (diff)
cuse: use mutex as registration lock instead of spinlocks
We need to check for name-collisions during cuse-device registration. To avoid race-conditions, this needs to be protected during the whole device registration. Therefore, replace the spinlocks by mutexes first so we can safely extend the locked regions to include more expensive or sleeping code paths. Signed-off-by: David Herrmann <[email protected]> Acked-by: Tejun Heo <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions