From ceaec15d49f29de1f8864e31ff4007c34b031bff Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 17 Sep 2013 08:07:11 -0400 Subject: 9p: make v9fs_cache_inode_{get,put,set}_cookie empty inlines for !9P_CACHEFS Signed-off-by: Al Viro --- fs/9p/cache.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'fs/9p/cache.h') 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, #else /* CONFIG_9P_FSCACHE */ +static inline void v9fs_cache_inode_get_cookie(struct inode *inode) +{ +} + +static inline void v9fs_cache_inode_put_cookie(struct inode *inode) +{ +} + +static inline void v9fs_cache_inode_set_cookie(struct inode *inode, struct file *file) +{ +} + static inline int v9fs_fscache_release_page(struct page *page, gfp_t gfp) { return 1; -- cgit v1.2.3