aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2011-01-12 17:00:35 -0800
committerLinus Torvalds <[email protected]>2011-01-13 08:03:17 -0800
commit3740a20c4fe8697cb604a7d51395d23472b1768f (patch)
treedac4b07e654742bc60fad44c55327d8b3f86e4b3 /net/unix/sysctl_net_unix.c
parenta6fc86d2b43bf1086557f023a24adf91db915559 (diff)
proc: less LOCK/UNLOCK in remove_proc_entry()
For the common case where a proc entry is being removed and nobody is in the process of using it, save a LOCK/UNLOCK pair. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions