Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165097
b: refs/heads/master
c: f3868d0
h: refs/heads/master
i:
  165095: da737ee
v: v3
  • Loading branch information
Joel Becker committed Sep 4, 2009
1 parent 12b3ee8 commit 5ee0bba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: d231129f44e7ead14f5f496e664ff1e3883a7b25
refs/heads/master: f3868d0fa2e20d923087a8296fda47b0afe7f9ba
9 changes: 4 additions & 5 deletions trunk/fs/ocfs2/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4983,16 +4983,16 @@ static int ocfs2_split_and_insert(handle_t *handle,
return ret;
}

static int ocfs2_replace_extent_rec(struct inode *inode,
handle_t *handle,
static int ocfs2_replace_extent_rec(handle_t *handle,
struct ocfs2_extent_tree *et,
struct ocfs2_path *path,
struct ocfs2_extent_list *el,
int split_index,
struct ocfs2_extent_rec *split_rec)
{
int ret;

ret = ocfs2_path_bh_journal_access(handle, INODE_CACHE(inode), path,
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, path,
path_num_items(path) - 1);
if (ret) {
mlog_errno(ret);
Expand Down Expand Up @@ -5095,8 +5095,7 @@ static int __ocfs2_mark_extent_written(struct inode *inode,

if (ctxt.c_contig_type == CONTIG_NONE) {
if (ctxt.c_split_covers_rec)
ret = ocfs2_replace_extent_rec(inode, handle,
path, el,
ret = ocfs2_replace_extent_rec(handle, et, path, el,
split_index, split_rec);
else
ret = ocfs2_split_and_insert(handle, et, path,
Expand Down

0 comments on commit 5ee0bba

Please sign in to comment.