fs: annotate ->poll() instances
[linux-block.git] / fs / dlm / plock.c
index e631b16892287064d449f658fd8e3a1e3aa2edff..a4c63e9e638545a916fd1d25ed8058e1d77acad9 100644 (file)
@@ -463,9 +463,9 @@ static ssize_t dev_write(struct file *file, const char __user *u, size_t count,
        return count;
 }
 
-static unsigned int dev_poll(struct file *file, poll_table *wait)
+static __poll_t dev_poll(struct file *file, poll_table *wait)
 {
-       unsigned int mask = 0;
+       __poll_t mask = 0;
 
        poll_wait(file, &send_wq, wait);