summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/vfs.txt
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-01-02 22:50:45 +0100
committerChristoph Hellwig <hch@lst.de>2018-05-26 09:16:44 +0200
commit6e8b704df58407aad7607053cb1b5ead4ac4a0bc (patch)
tree923ba6067617167835c774843283a98ea5e5fb10 /Documentation/filesystems/vfs.txt
parenta0f8dcfc607d8d113090ff36eee2ee406463bb0e (diff)
downloadlinux-stable-6e8b704df58407aad7607053cb1b5ead4ac4a0bc.tar.gz
linux-stable-6e8b704df58407aad7607053cb1b5ead4ac4a0bc.tar.bz2
linux-stable-6e8b704df58407aad7607053cb1b5ead4ac4a0bc.zip
fs: update documentation to mention __poll_t and match the code
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/filesystems/vfs.txt')
-rw-r--r--Documentation/filesystems/vfs.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index 5fd325df59e2..f608180ad59d 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -856,7 +856,7 @@ struct file_operations {
ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
int (*iterate) (struct file *, struct dir_context *);
- unsigned int (*poll) (struct file *, struct poll_table_struct *);
+ __poll_t (*poll) (struct file *, struct poll_table_struct *);
long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
int (*mmap) (struct file *, struct vm_area_struct *);