diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-17 08:07:11 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-24 23:34:47 -0400 |
commit | ceaec15d49f29de1f8864e31ff4007c34b031bff (patch) | |
tree | 1041f5725f6d4a3381068122abb8822705a1bc95 /fs/9p/cache.h | |
parent | d0e639c9e06d44e713170031fe05fb60ebe680af (diff) | |
download | linux-ceaec15d49f29de1f8864e31ff4007c34b031bff.tar.gz linux-ceaec15d49f29de1f8864e31ff4007c34b031bff.tar.bz2 linux-ceaec15d49f29de1f8864e31ff4007c34b031bff.zip |
9p: make v9fs_cache_inode_{get,put,set}_cookie empty inlines for !9P_CACHEFS
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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, #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; |