diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-02-12 22:32:43 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-09-04 19:07:57 -0400 |
commit | 6136ca5f5f9fd38da399e9ff9380f537c1b3b901 (patch) | |
tree | e2927c3b6084a7ea16f872a61011cbcf505f570c /fs/ocfs2/inode.c | |
parent | 7dc028056750328e74ca807041c822068384fe16 (diff) |
ocfs2: Drop struct inode from ocfs2_extent_tree_operations.
We can get to the inode from the caching information. Other parent
types don't need it.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r-- | fs/ocfs2/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index 179c819e52ec..e82ceb31cc83 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -1395,10 +1395,6 @@ int ocfs2_read_inode_block(struct inode *inode, struct buffer_head **bh) | |||
1395 | return ocfs2_read_inode_block_full(inode, bh, 0); | 1395 | return ocfs2_read_inode_block_full(inode, bh, 0); |
1396 | } | 1396 | } |
1397 | 1397 | ||
1398 | static struct ocfs2_inode_info *cache_info_to_inode(struct ocfs2_caching_info *ci) | ||
1399 | { | ||
1400 | return container_of(ci, struct ocfs2_inode_info, ip_metadata_cache); | ||
1401 | } | ||
1402 | 1398 | ||
1403 | static u64 ocfs2_inode_cache_owner(struct ocfs2_caching_info *ci) | 1399 | static u64 ocfs2_inode_cache_owner(struct ocfs2_caching_info *ci) |
1404 | { | 1400 | { |