diff options
Diffstat (limited to 'fs/9p/cache.h')
-rw-r--r-- | fs/9p/cache.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/9p/cache.h b/fs/9p/cache.h index 40cc54ced5d9..2f9675491095 100644 --- a/fs/9p/cache.h +++ b/fs/9p/cache.h | |||
@@ -101,6 +101,18 @@ static inline void v9fs_fscache_wait_on_page_write(struct inode *inode, | |||
101 | 101 | ||
102 | #else /* CONFIG_9P_FSCACHE */ | 102 | #else /* CONFIG_9P_FSCACHE */ |
103 | 103 | ||
104 | static inline void v9fs_cache_inode_get_cookie(struct inode *inode) | ||
105 | { | ||
106 | } | ||
107 | |||
108 | static inline void v9fs_cache_inode_put_cookie(struct inode *inode) | ||
109 | { | ||
110 | } | ||
111 | |||
112 | static inline void v9fs_cache_inode_set_cookie(struct inode *inode, struct file *file) | ||
113 | { | ||
114 | } | ||
115 | |||
104 | static inline int v9fs_fscache_release_page(struct page *page, | 116 | static inline int v9fs_fscache_release_page(struct page *page, |
105 | gfp_t gfp) { | 117 | gfp_t gfp) { |
106 | return 1; | 118 | return 1; |