]> git.baikalelectronics.ru Git - kernel.git/commit
fs/epoll: robustify ep->mtx held checks
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 3 Jan 2019 23:27:12 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jan 2019 21:13:46 +0000 (13:13 -0800)
commit9de3a10f7b551ec848253e94a5329fa0f4b6c36e
tree0d2134af802d232c928ddb92fa1420316b29fa9c
parentb18e2d495835ace1ede95499192761c028d64bf6
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: Linus Torvalds <torvalds@linux-foundation.org>
fs/eventpoll.c