mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
fs: annotate ->poll() instances
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
9dd957485d
commit
076ccb76e1
24 changed files with 41 additions and 41 deletions
|
|
@ -239,10 +239,10 @@ out_close_fd:
|
|||
}
|
||||
|
||||
/* intofiy userspace file descriptor functions */
|
||||
static unsigned int fanotify_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t fanotify_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct fsnotify_group *group = file->private_data;
|
||||
int ret = 0;
|
||||
__poll_t ret = 0;
|
||||
|
||||
poll_wait(file, &group->notification_waitq, wait);
|
||||
spin_lock(&group->notification_lock);
|
||||
|
|
|
|||
|
|
@ -107,10 +107,10 @@ static inline u32 inotify_mask_to_arg(__u32 mask)
|
|||
}
|
||||
|
||||
/* intofiy userspace file descriptor functions */
|
||||
static unsigned int inotify_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t inotify_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct fsnotify_group *group = file->private_data;
|
||||
int ret = 0;
|
||||
__poll_t ret = 0;
|
||||
|
||||
poll_wait(file, &group->notification_waitq, wait);
|
||||
spin_lock(&group->notification_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue