diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-02-12 20:49:26 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-09-04 19:07:52 -0400 |
commit | 3d03a305ded8057155bd3c801e64ffef9f534827 (patch) | |
tree | 4f220711f42c1abbd80a9fe8c2b6ee47e846a587 /fs/ocfs2/suballoc.c | |
parent | d9a0a1f83bf083b55b3c1f16efddecc31abace61 (diff) |
ocfs2: Pass ocfs2_caching_info to ocfs2_read_extent_block().
extent blocks belong to btrees on more than just inodes, so we want to
pass the ocfs2_caching_info structure directly to
ocfs2_read_extent_block(). A number of places in alloc.c can now drop
struct inode from their argument list.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/suballoc.c')
-rw-r--r-- | fs/ocfs2/suballoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c index a6c442c82e3..c30b644d957 100644 --- a/fs/ocfs2/suballoc.c +++ b/fs/ocfs2/suballoc.c | |||
@@ -2152,7 +2152,7 @@ int ocfs2_lock_allocators(struct inode *inode, | |||
2152 | 2152 | ||
2153 | BUG_ON(clusters_to_add != 0 && data_ac == NULL); | 2153 | BUG_ON(clusters_to_add != 0 && data_ac == NULL); |
2154 | 2154 | ||
2155 | num_free_extents = ocfs2_num_free_extents(osb, inode, et); | 2155 | num_free_extents = ocfs2_num_free_extents(osb, et); |
2156 | if (num_free_extents < 0) { | 2156 | if (num_free_extents < 0) { |
2157 | ret = num_free_extents; | 2157 | ret = num_free_extents; |
2158 | mlog_errno(ret); | 2158 | mlog_errno(ret); |