]> www.infradead.org Git - users/willy/linux.git/commit
fs/epoll: robustify ep->mtx held checks
authorDavidlohr Bueso <dave@stgolabs.net>
Wed, 5 Dec 2018 00:14:08 +0000 (11:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Dec 2018 22:09:00 +0000 (09:09 +1100)
commit666adef3607f98e62cd2f9a0ed8cfcd0835b7183
treea6d255ac194b12c0d3db02b89f61c9dbf831f400
parente9015e105aa42fab9204940828d01cfed6e311e9
fs/epoll: robustify ep->mtx held checks

Insted of just commenting how important it is, lets make it more robust
and add a lockdep_assert_held() call.

Link: http://lkml.kernel.org/r/20181108051006.18751-5-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Jason Baron <jbaron@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
fs/eventpoll.c