]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - Documentation/filesystems/Locking
fs: update documentation to mention __poll_t and match the code
[linux.git] / Documentation / filesystems / Locking
index 75d2d57e2c4421122434aa855444e8a344c38f21..220bba28f72becf7d79eb6227bd8962f4b0e5dee 100644 (file)
@@ -439,7 +439,7 @@ prototypes:
        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 *);