aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorJason Baron <[email protected]>2019-12-04 16:52:12 -0800
committerLinus Torvalds <[email protected]>2019-12-04 19:44:13 -0800
commitf6520c520842c532059c380d7a5b30b6e0e72ced (patch)
tree9108154e662d305cec3c7494110147299e07c826 /lib/test_fortify/write_overflow-strcpy.c
parentcd28b119047b9928ddae914dd747f032ab929cc6 (diff)
epoll: simplify ep_poll_safewake() for CONFIG_DEBUG_LOCK_ALLOC
Currently, ep_poll_safewake() in the CONFIG_DEBUG_LOCK_ALLOC case uses ep_call_nested() in order to pass the correct subclass argument to spin_lock_irqsave_nested(). However, ep_call_nested() adds unnecessary checks for epoll depth and loops that are already verified when doing EPOLL_CTL_ADD. This mirrors a conversion that was done for !CONFIG_DEBUG_LOCK_ALLOC in: commit 37b5e5212a44 ("epoll: remove ep_call_nested() from ep_eventpoll_poll()") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jason Baron <[email protected]> Reviewed-by: Roman Penyaev <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Al Viro <[email protected]> Cc: Eric Wong <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions