summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cachefiles/daemon.c')
-rw-r--r--fs/cachefiles/daemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cachefiles/daemon.c b/fs/cachefiles/daemon.c
index 1ee54ffd3a24..7edbd0679952 100644
--- a/fs/cachefiles/daemon.c
+++ b/fs/cachefiles/daemon.c
@@ -31,7 +31,7 @@ static ssize_t cachefiles_daemon_read(struct file *, char __user *, size_t,
31 loff_t *); 31 loff_t *);
32static ssize_t cachefiles_daemon_write(struct file *, const char __user *, 32static ssize_t cachefiles_daemon_write(struct file *, const char __user *,
33 size_t, loff_t *); 33 size_t, loff_t *);
34static unsigned int cachefiles_daemon_poll(struct file *, 34static __poll_t cachefiles_daemon_poll(struct file *,
35 struct poll_table_struct *); 35 struct poll_table_struct *);
36static int cachefiles_daemon_frun(struct cachefiles_cache *, char *); 36static int cachefiles_daemon_frun(struct cachefiles_cache *, char *);
37static int cachefiles_daemon_fcull(struct cachefiles_cache *, char *); 37static int cachefiles_daemon_fcull(struct cachefiles_cache *, char *);
@@ -291,11 +291,11 @@ found_command:
291 * poll for culling state 291 * poll for culling state
292 * - use POLLOUT to indicate culling state 292 * - use POLLOUT to indicate culling state
293 */ 293 */
294static unsigned int cachefiles_daemon_poll(struct file *file, 294static __poll_t cachefiles_daemon_poll(struct file *file,
295 struct poll_table_struct *poll) 295 struct poll_table_struct *poll)
296{ 296{
297 struct cachefiles_cache *cache = file->private_data; 297 struct cachefiles_cache *cache = file->private_data;
298 unsigned int mask; 298 __poll_t mask;
299 299
300 poll_wait(file, &cache->daemon_pollwq, poll); 300 poll_wait(file, &cache->daemon_pollwq, poll);
301 mask = 0; 301 mask = 0;