Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165086
b: refs/heads/master
c: c38e52b
h: refs/heads/master
v: v3
  • Loading branch information
Joel Becker committed Sep 4, 2009
1 parent b773e13 commit 92ad810
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d562862314a7b131a630f7b912490312387542fb
refs/heads/master: c38e52bb1c0187186bd3c4a2b318ffe69cd2fdf8
7 changes: 4 additions & 3 deletions trunk/fs/ocfs2/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4022,7 +4022,7 @@ static int ocfs2_append_rec_to_path(handle_t *handle,
return ret;
}

static void ocfs2_split_record(struct inode *inode,
static void ocfs2_split_record(struct ocfs2_extent_tree *et,
struct ocfs2_path *left_path,
struct ocfs2_path *right_path,
struct ocfs2_extent_rec *split_rec,
Expand Down Expand Up @@ -4095,7 +4095,8 @@ static void ocfs2_split_record(struct inode *inode,
}

rec = &el->l_recs[index];
ocfs2_subtract_from_rec(inode->i_sb, split, rec, split_rec);
ocfs2_subtract_from_rec(ocfs2_metadata_cache_get_super(et->et_ci),
split, rec, split_rec);
ocfs2_rotate_leaf(insert_el, split_rec);
}

Expand Down Expand Up @@ -4158,7 +4159,7 @@ static int ocfs2_insert_path(struct inode *inode,
* of splits, but it's easier to just let one separate
* function sort it all out.
*/
ocfs2_split_record(inode, left_path, right_path,
ocfs2_split_record(et, left_path, right_path,
insert_rec, insert->ins_split);

/*
Expand Down

0 comments on commit 92ad810

Please sign in to comment.