diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 01:02:18 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:20:05 -0500 |
commit | 076ccb76e1a6cf0aa5371132efdd502a11e806f1 (patch) | |
tree | 6917e5c6896f75226fe97e09a236c502fe0637f5 /fs/dlm | |
parent | 9dd957485d7d896ec18d8e2f9dd410efe71eca34 (diff) | |
download | linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.tar.gz linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.tar.bz2 linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.zip |
fs: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/plock.c | 4 | ||||
-rw-r--r-- | fs/dlm/user.c | 2 |
2 files changed, 3 insertions, 3 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); diff --git a/fs/dlm/user.c b/fs/dlm/user.c index d18e7a539f11..662432af8ce8 100644 --- a/fs/dlm/user.c +++ b/fs/dlm/user.c @@ -887,7 +887,7 @@ static ssize_t device_read(struct file *file, char __user *buf, size_t count, return rv; } -static unsigned int device_poll(struct file *file, poll_table *wait) +static __poll_t device_poll(struct file *file, poll_table *wait) { struct dlm_user_proc *proc = file->private_data; |