aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/inode.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/inode.h')
-rw-r--r--fs/ocfs2/inode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h
index cd1caca545f5..b0a71b22712c 100644
--- a/fs/ocfs2/inode.h
+++ b/fs/ocfs2/inode.h
@@ -120,6 +120,11 @@ extern struct kmem_cache *ocfs2_inode_cache;
120extern const struct address_space_operations ocfs2_aops; 120extern const struct address_space_operations ocfs2_aops;
121extern const struct ocfs2_caching_operations ocfs2_inode_caching_ops; 121extern const struct ocfs2_caching_operations ocfs2_inode_caching_ops;
122 122
123static inline struct ocfs2_caching_info *INODE_CACHE(struct inode *inode)
124{
125 return &OCFS2_I(inode)->ip_metadata_cache;
126}
127
123void ocfs2_clear_inode(struct inode *inode); 128void ocfs2_clear_inode(struct inode *inode);
124void ocfs2_delete_inode(struct inode *inode); 129void ocfs2_delete_inode(struct inode *inode);
125void ocfs2_drop_inode(struct inode *inode); 130void ocfs2_drop_inode(struct inode *inode);