summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2018-08-22 06:58:26 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 19:52:49 +0200
commit992991c03ca033f779aae1afb5b0c27bcb7139c3 (patch)
treeca477eaddde64ec7f69b37d50980f66df2db0d72 /init
parentfs/eventpoll.c: loosen irq safety in ep_poll() (diff)
downloadlinux-992991c03ca033f779aae1afb5b0c27bcb7139c3.tar.xz
linux-992991c03ca033f779aae1afb5b0c27bcb7139c3.zip
fs/eventpoll.c: simplify ep_is_linked() callers
Instead of having each caller pass the rdllink explicitly, just have ep_is_linked() pass it while the callers just need the epi pointer. This helper is all about the rdllink, and this change, furthermore, improves the function's self documentation. Link: http://lkml.kernel.org/r/20180727053432.16679-3-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> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions