fs: annotate ->poll() instances
[linux-block.git] / fs / proc_namespace.c
index 7b635d17321377e4868554a6ad338a1bd413b3cc..7a3d0ff9b7a852d24ed951c403cf8858a94d9a45 100644 (file)
 #include "pnode.h"
 #include "internal.h"
 
-static unsigned mounts_poll(struct file *file, poll_table *wait)
+static __poll_t mounts_poll(struct file *file, poll_table *wait)
 {
        struct seq_file *m = file->private_data;
        struct proc_mounts *p = m->private;
        struct mnt_namespace *ns = p->ns;
-       unsigned res = POLLIN | POLLRDNORM;
+       __poll_t res = POLLIN | POLLRDNORM;
        int event;
 
        poll_wait(file, &p->ns->poll, wait);