summaryrefslogtreecommitdiffstats
path: root/block/partition-generic.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-01-06 18:45:43 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2018-01-06 19:47:20 +0100
commitb6364572d641c8eba9eab9bcc31d8962f96ddf15 (patch)
tree4ea8e2faa151ee271bcee3446b845a2d998cb4c5 /block/partition-generic.c
parenteventfd: convert to use anon_inode_getfd() (diff)
downloadlinux-b6364572d641c8eba9eab9bcc31d8962f96ddf15.tar.xz
linux-b6364572d641c8eba9eab9bcc31d8962f96ddf15.zip
eventfd: fold eventfd_ctx_read() into eventfd_read()
eventfd_ctx_read() is not used outside of eventfd.c, so unexport it and fold it into eventfd_read(). This slightly simplifies the code and makes it more analogous to eventfd_write(). (eventfd_ctx_read() was apparently added years ago for KVM irqfd's, but was never used.) Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions