summaryrefslogtreecommitdiff
path: root/init/do_mounts_md.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2018-08-22 07:58:26 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 20:52:49 +0300
commit992991c03ca033f779aae1afb5b0c27bcb7139c3 (patch)
treeca477eaddde64ec7f69b37d50980f66df2db0d72 /init/do_mounts_md.c
parent679abf381a18e945457b01921f667cee9e656a7f (diff)
downloadlinux-992991c03ca033f779aae1afb5b0c27bcb7139c3.tar.xz
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/do_mounts_md.c')
0 files changed, 0 insertions, 0 deletions