diff options
Diffstat (limited to 'fs/ceph/cache.c')
-rw-r--r-- | fs/ceph/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c index a351480dbabc..c052b5bf219b 100644 --- a/fs/ceph/cache.c +++ b/fs/ceph/cache.c | |||
@@ -236,7 +236,7 @@ static void ceph_vfs_readpage_complete_unlock(struct page *page, void *data, int | |||
236 | unlock_page(page); | 236 | unlock_page(page); |
237 | } | 237 | } |
238 | 238 | ||
239 | static inline int cache_valid(struct ceph_inode_info *ci) | 239 | static inline bool cache_valid(struct ceph_inode_info *ci) |
240 | { | 240 | { |
241 | return ((ceph_caps_issued(ci) & CEPH_CAP_FILE_CACHE) && | 241 | return ((ceph_caps_issued(ci) & CEPH_CAP_FILE_CACHE) && |
242 | (ci->i_fscache_gen == ci->i_rdcache_gen)); | 242 | (ci->i_fscache_gen == ci->i_rdcache_gen)); |