fs: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -18,12 +18,12 @@
|
||||
#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);
|
||||
|
Reference in New Issue
Block a user