aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/inode.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-02-10 19:00:37 -0800
committerJoel Becker <joel.becker@oracle.com>2009-09-04 16:07:48 -0700
commit6e5a3d7538ad4e46a976862f593faf65750e37cc (patch)
treee87ce6d69bdbcce23eed0a195a7f80a59c01d3d9 /fs/ocfs2/inode.h
parent47460d65a483529b3bc2bf6ccf461ad45f94df83 (diff)
downloadkernel_samsung_smdk4412-6e5a3d7538ad4e46a976862f593faf65750e37cc.zip
kernel_samsung_smdk4412-6e5a3d7538ad4e46a976862f593faf65750e37cc.tar.gz
kernel_samsung_smdk4412-6e5a3d7538ad4e46a976862f593faf65750e37cc.tar.bz2
ocfs2: Change metadata caching locks to an operations structure.
We don't really want to cart around too many new fields on the ocfs2_caching_info structure. So let's wrap all our access of the parent object in a set of operations. One pointer on caching_info, and more flexibility to boot. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/inode.h')
-rw-r--r--fs/ocfs2/inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h
index 2f5e1aa..cd1caca 100644
--- a/fs/ocfs2/inode.h
+++ b/fs/ocfs2/inode.h
@@ -118,6 +118,7 @@ static inline struct ocfs2_inode_info *OCFS2_I(struct inode *inode)
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;
void ocfs2_clear_inode(struct inode *inode);
void ocfs2_delete_inode(struct inode *inode);