summaryrefslogtreecommitdiffstats
path: root/lib/test-kstrtox.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-04-30 15:27:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 17:04:04 -0700
commitddf676c38b56a8641c8eb9fb856fa304018ff390 (patch)
tree1c4aed96cc3f07c2f740929811156e16126f04f6 /lib/test-kstrtox.c
parenteea1d585917c538d90bc26fda5d8e53796feada2 (diff)
downloadlinux-ddf676c38b56a8641c8eb9fb856fa304018ff390.tar.gz
linux-ddf676c38b56a8641c8eb9fb856fa304018ff390.tar.bz2
linux-ddf676c38b56a8641c8eb9fb856fa304018ff390.zip
epoll: lock ep->mtx in ep_free to silence lockdep
Technically we do not need to hold ep->mtx during ep_free since we are certain there are no other users of ep at that point. However, lockdep complains with a "suspicious rcu_dereference_check() usage!" message; so lock the mutex before ep_remove to silence the warning. Signed-off-by: Eric Wong <normalperson@yhbt.net> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Arve Hjønnevåg <arve@android.com> Cc: Davide Libenzi <davidel@xmailserver.org> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: NeilBrown <neilb@suse.de>, Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test-kstrtox.c')
0 files changed, 0 insertions, 0 deletions