mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
fs: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
9dd957485d
commit
076ccb76e1
24 changed files with 41 additions and 41 deletions
|
@ -31,7 +31,7 @@ static ssize_t cachefiles_daemon_read(struct file *, char __user *, size_t,
|
|||
loff_t *);
|
||||
static ssize_t cachefiles_daemon_write(struct file *, const char __user *,
|
||||
size_t, loff_t *);
|
||||
static unsigned int cachefiles_daemon_poll(struct file *,
|
||||
static __poll_t cachefiles_daemon_poll(struct file *,
|
||||
struct poll_table_struct *);
|
||||
static int cachefiles_daemon_frun(struct cachefiles_cache *, char *);
|
||||
static int cachefiles_daemon_fcull(struct cachefiles_cache *, char *);
|
||||
|
@ -291,11 +291,11 @@ found_command:
|
|||
* poll for culling state
|
||||
* - use POLLOUT to indicate culling state
|
||||
*/
|
||||
static unsigned int cachefiles_daemon_poll(struct file *file,
|
||||
static __poll_t cachefiles_daemon_poll(struct file *file,
|
||||
struct poll_table_struct *poll)
|
||||
{
|
||||
struct cachefiles_cache *cache = file->private_data;
|
||||
unsigned int mask;
|
||||
__poll_t mask;
|
||||
|
||||
poll_wait(file, &cache->daemon_pollwq, poll);
|
||||
mask = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue