diff options
Diffstat (limited to 'fs/nfs/fscache.h')
-rw-r--r-- | fs/nfs/fscache.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/fs/nfs/fscache.h b/fs/nfs/fscache.h index 4ecb76652eba..d7fe3e799f2f 100644 --- a/fs/nfs/fscache.h +++ b/fs/nfs/fscache.h | |||
@@ -76,11 +76,9 @@ extern void nfs_fscache_release_client_cookie(struct nfs_client *); | |||
76 | extern void nfs_fscache_get_super_cookie(struct super_block *, const char *, int); | 76 | extern void nfs_fscache_get_super_cookie(struct super_block *, const char *, int); |
77 | extern void nfs_fscache_release_super_cookie(struct super_block *); | 77 | extern void nfs_fscache_release_super_cookie(struct super_block *); |
78 | 78 | ||
79 | extern void nfs_fscache_init_inode_cookie(struct inode *); | 79 | extern void nfs_fscache_init_inode(struct inode *); |
80 | extern void nfs_fscache_release_inode_cookie(struct inode *); | 80 | extern void nfs_fscache_clear_inode(struct inode *); |
81 | extern void nfs_fscache_zap_inode_cookie(struct inode *); | 81 | extern void nfs_fscache_open_file(struct inode *, struct file *); |
82 | extern void nfs_fscache_set_inode_cookie(struct inode *, struct file *); | ||
83 | extern void nfs_fscache_reset_inode_cookie(struct inode *); | ||
84 | 82 | ||
85 | extern void __nfs_fscache_invalidate_page(struct page *, struct inode *); | 83 | extern void __nfs_fscache_invalidate_page(struct page *, struct inode *); |
86 | extern int nfs_fscache_release_page(struct page *, gfp_t); | 84 | extern int nfs_fscache_release_page(struct page *, gfp_t); |
@@ -187,12 +185,10 @@ static inline void nfs_fscache_release_client_cookie(struct nfs_client *clp) {} | |||
187 | 185 | ||
188 | static inline void nfs_fscache_release_super_cookie(struct super_block *sb) {} | 186 | static inline void nfs_fscache_release_super_cookie(struct super_block *sb) {} |
189 | 187 | ||
190 | static inline void nfs_fscache_init_inode_cookie(struct inode *inode) {} | 188 | static inline void nfs_fscache_init_inode(struct inode *inode) {} |
191 | static inline void nfs_fscache_release_inode_cookie(struct inode *inode) {} | 189 | static inline void nfs_fscache_clear_inode(struct inode *inode) {} |
192 | static inline void nfs_fscache_zap_inode_cookie(struct inode *inode) {} | 190 | static inline void nfs_fscache_open_file(struct inode *inode, |
193 | static inline void nfs_fscache_set_inode_cookie(struct inode *inode, | 191 | struct file *filp) {} |
194 | struct file *filp) {} | ||
195 | static inline void nfs_fscache_reset_inode_cookie(struct inode *inode) {} | ||
196 | 192 | ||
197 | static inline int nfs_fscache_release_page(struct page *page, gfp_t gfp) | 193 | static inline int nfs_fscache_release_page(struct page *page, gfp_t gfp) |
198 | { | 194 | { |