ocfs2: Take the inode out of the metadata read/write paths.
[deliverable/linux.git] / fs / ocfs2 / inode.h
index cd1caca545f5a79e6debca34bd2571756b8a31d6..b0a71b22712cf087beb196f910cea441b1c28362 100644 (file)
@@ -120,6 +120,11 @@ extern struct kmem_cache *ocfs2_inode_cache;
 extern const struct address_space_operations ocfs2_aops;
 extern const struct ocfs2_caching_operations ocfs2_inode_caching_ops;
 
+static inline struct ocfs2_caching_info *INODE_CACHE(struct inode *inode)
+{
+       return &OCFS2_I(inode)->ip_metadata_cache;
+}
+
 void ocfs2_clear_inode(struct inode *inode);
 void ocfs2_delete_inode(struct inode *inode);
 void ocfs2_drop_inode(struct inode *inode);
This page took 0.023307 seconds and 5 git commands to generate.