summaryrefslogtreecommitdiffstats
path: root/fs/dlm/plock.c
diff options
context:
space:
mode:
authorAl Viro2017-07-03 07:02:18 +0200
committerAl Viro2017-11-27 22:20:05 +0100
commit076ccb76e1a6cf0aa5371132efdd502a11e806f1 (patch)
tree6917e5c6896f75226fe97e09a236c502fe0637f5 /fs/dlm/plock.c
parentipc, kernel, mm: annotate ->poll() instances (diff)
downloadkernel-qcow2-linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.tar.gz
kernel-qcow2-linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.tar.xz
kernel-qcow2-linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.zip
fs: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dlm/plock.c')
-rw-r--r--fs/dlm/plock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/plock.c b/fs/dlm/plock.c
index e631b1689228..a4c63e9e6385 100644
--- a/fs/dlm/plock.c
+++ b/fs/dlm/plock.c
@@ -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);