ipmi: Move BT capabilities detection to the detect call
[linux-2.6-block.git] / fs / cachefiles / daemon.c
index 7edbd0679952080109d8ac7eaf4df23067d266f2..3fdee214a5bbca7ffe1ab9fcc90c540dc5f7c158 100644 (file)
@@ -289,7 +289,7 @@ found_command:
 
 /*
  * poll for culling state
- * - use POLLOUT to indicate culling state
+ * - use EPOLLOUT to indicate culling state
  */
 static __poll_t cachefiles_daemon_poll(struct file *file,
                                           struct poll_table_struct *poll)
@@ -301,10 +301,10 @@ static __poll_t cachefiles_daemon_poll(struct file *file,
        mask = 0;
 
        if (test_bit(CACHEFILES_STATE_CHANGED, &cache->flags))
-               mask |= POLLIN;
+               mask |= EPOLLIN;
 
        if (test_bit(CACHEFILES_CULLING, &cache->flags))
-               mask |= POLLOUT;
+               mask |= EPOLLOUT;
 
        return mask;
 }