]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - Documentation/filesystems/vfs.txt
fs: update documentation to mention __poll_t and match the code
[linux.git] / Documentation / filesystems / vfs.txt
index 5fd325df59e2233df60cbf6da6c92230aa0c26ef..f608180ad59d71ab2bcc2d2d818699bfaaee1470 100644 (file)
@@ -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 *);