summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr.bueso@hp.com>2013-07-09 03:01:12 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 21:33:27 +0400
commit7b4cc5d8411bd4e9d61d8714f53859740cf830c2 (patch)
treeb95f3b875a5f4c927b0f27cc3c7ddcba5cc8e1e8 /drivers/iio
parentcf9d5d78d05bca96df7618dfc3a5ee4414dcae58 (diff)
downloadlinux-7b4cc5d8411bd4e9d61d8714f53859740cf830c2.tar.xz
ipc: move locking out of ipcctl_pre_down_nolock
This function currently acquires both the rw_mutex and the rcu lock on successful lookups, leaving the callers to explicitly unlock them, creating another two level locking situation. Make the callers (including those that still use ipcctl_pre_down()) explicitly lock and unlock the rwsem and rcu lock. Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions