aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2013-09-11 14:26:18 -0700
committerLinus Torvalds <[email protected]>2013-09-11 15:59:39 -0700
commit68eccc1dc345539d589ae78ee43b835c1a06a134 (patch)
tree16943d2674537a5d13a14794763a3df7e51411ab /net/lapb/lapb_iface.c
parent3b1c4ad37741e53804ffe0a30dd01e08b2ab6241 (diff)
ipc,shm: introduce shmctl_nolock
Similar to semctl and msgctl, when calling msgctl, the *_INFO and *_STAT commands can be performed without acquiring the ipc object. Add a shmctl_nolock() function and move the logic of *_INFO and *_STAT out of msgctl(). Since we are just moving functionality, this change still takes the lock and it will be properly lockless in the next patch. Signed-off-by: Davidlohr Bueso <[email protected]> Tested-by: Sedat Dilek <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Manfred Spraul <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions