summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-02 22:22:01 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:19:52 -0500
commita3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0 (patch)
treea4fcb5f30ea25b969f9acfc8fdf53a1f401c7e84 /include/linux/fs.h
parent8ced390c2b18364af35e3d3f080e06f8ea96be9a (diff)
->poll() methods should return __poll_t
The most common place to find POLL... bitmaps: return values of ->poll() and its subsystem counterparts. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 2995a271ec46..64695eb07992 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1698,7 +1698,7 @@ struct file_operations {
1698 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *); 1698 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1699 int (*iterate) (struct file *, struct dir_context *); 1699 int (*iterate) (struct file *, struct dir_context *);
1700 int (*iterate_shared) (struct file *, struct dir_context *); 1700 int (*iterate_shared) (struct file *, struct dir_context *);
1701 unsigned int (*poll) (struct file *, struct poll_table_struct *); 1701 __poll_t (*poll) (struct file *, struct poll_table_struct *);
1702 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long); 1702 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
1703 long (*compat_ioctl) (struct file *, unsigned int, unsigned long); 1703 long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
1704 int (*mmap) (struct file *, struct vm_area_struct *); 1704 int (*mmap) (struct file *, struct vm_area_struct *);