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/proc/proc_sysctl.c | |
parent | 9dd957485d7d896ec18d8e2f9dd410efe71eca34 (diff) |
fs: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/proc_sysctl.c')
-rw-r--r-- | fs/proc/proc_sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index c5cbbdff3c3d..63325377621a 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c | |||
@@ -630,12 +630,12 @@ static int proc_sys_open(struct inode *inode, struct file *filp) | |||
630 | return 0; | 630 | return 0; |
631 | } | 631 | } |
632 | 632 | ||
633 | static unsigned int proc_sys_poll(struct file *filp, poll_table *wait) | 633 | static __poll_t proc_sys_poll(struct file *filp, poll_table *wait) |
634 | { | 634 | { |
635 | struct inode *inode = file_inode(filp); | 635 | struct inode *inode = file_inode(filp); |
636 | struct ctl_table_header *head = grab_header(inode); | 636 | struct ctl_table_header *head = grab_header(inode); |
637 | struct ctl_table *table = PROC_I(inode)->sysctl_entry; | 637 | struct ctl_table *table = PROC_I(inode)->sysctl_entry; |
638 | unsigned int ret = DEFAULT_POLLMASK; | 638 | __poll_t ret = DEFAULT_POLLMASK; |
639 | unsigned long event; | 639 | unsigned long event; |
640 | 640 | ||
641 | /* sysctl was unregistered */ | 641 | /* sysctl was unregistered */ |