fs: add new vfs_poll and file_can_poll helpers
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Mar 2018 15:26:05 +0000 (07:26 -0800)
committerChristoph Hellwig <hch@lst.de>
Sat, 26 May 2018 07:16:44 +0000 (09:16 +0200)
commit9965ed174e7d38896e5d2582159d8ef31ecd4cb5
tree955bfa805fff87c169a4814deaf311b90cca84b2
parent6e8b704df58407aad7607053cb1b5ead4ac4a0bc
fs: add new vfs_poll and file_can_poll helpers

These abstract out calls to the poll method in preparation for changes
in how we poll.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
drivers/staging/comedi/drivers/serial2002.c
drivers/vfio/virqfd.c
drivers/vhost/vhost.c
fs/eventpoll.c
fs/select.c
include/linux/poll.h
mm/memcontrol.c
net/9p/trans_fd.c
virt/kvm/eventfd.c