aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dir.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-02-12 20:49:26 -0500
committerJoel Becker <joel.becker@oracle.com>2009-09-04 19:07:52 -0400
commit3d03a305ded8057155bd3c801e64ffef9f534827 (patch)
tree4f220711f42c1abbd80a9fe8c2b6ee47e846a587 /fs/ocfs2/dir.c
parentd9a0a1f83bf083b55b3c1f16efddecc31abace61 (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/dir.c')
-rw-r--r--fs/ocfs2/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 073ab34b8c2a..00e43281b9a4 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -3346,7 +3346,7 @@ static int ocfs2_extend_dir(struct ocfs2_super *osb,
3346 if (dir_i_size == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)) { 3346 if (dir_i_size == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)) {
3347 spin_unlock(&OCFS2_I(dir)->ip_lock); 3347 spin_unlock(&OCFS2_I(dir)->ip_lock);
3348 ocfs2_init_dinode_extent_tree(&et, dir, parent_fe_bh); 3348 ocfs2_init_dinode_extent_tree(&et, dir, parent_fe_bh);
3349 num_free_extents = ocfs2_num_free_extents(osb, dir, &et); 3349 num_free_extents = ocfs2_num_free_extents(osb, &et);
3350 if (num_free_extents < 0) { 3350 if (num_free_extents < 0) {
3351 status = num_free_extents; 3351 status = num_free_extents;
3352 mlog_errno(status); 3352 mlog_errno(status);