aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2013-04-30 19:15:24 -0700
committerLinus Torvalds <[email protected]>2013-05-01 08:12:58 -0700
commit444d0f621b64716f7868dcbde448e0c66ece4e61 (patch)
tree3947e0fe791c53c81d87a929af6d1b8e18a5c6aa /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent4d2bff5eb86e8d7b4a20934cccb93bdeebed3558 (diff)
ipc: introduce lockless pre_down ipcctl
Various forms of ipc use ipcctl_pre_down() to retrieve an ipc object and check permissions, mostly for IPC_RMID and IPC_SET commands. Introduce ipcctl_pre_down_nolock(), a lockless version of this function. The locking version is retained, yet modified to call the nolock version without affecting its semantics, thus transparent to all ipc callers. Signed-off-by: Davidlohr Bueso <[email protected]> Signed-off-by: Rik van Riel <[email protected]> Suggested-by: Linus Torvalds <[email protected]> Cc: Chegu Vinod <[email protected]> Cc: Emmanuel Benisty <[email protected]> Cc: Jason Low <[email protected]> Cc: Michel Lespinasse <[email protected]> Cc: Peter Hurley <[email protected]> Cc: Stanislav Kinsbursky <[email protected]> Tested-by: Sedat Dilek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions