Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165081
b: refs/heads/master
c: c495dd2
h: refs/heads/master
i:
  165079: 192327f
v: v3
  • Loading branch information
Joel Becker committed Sep 4, 2009
1 parent 2e7f0bf commit 836a381
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: 4fe82c312a7d975a9d0f591dc9180c1197ee4270
refs/heads/master: c495dd24ac00654f99540f533185e1fcc9534009
12 changes: 5 additions & 7 deletions trunk/fs/ocfs2/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3623,15 +3623,13 @@ static int ocfs2_merge_rec_left(struct ocfs2_path *right_path,
return ret;
}

static int ocfs2_try_to_merge_extent(struct inode *inode,
handle_t *handle,
static int ocfs2_try_to_merge_extent(handle_t *handle,
struct ocfs2_extent_tree *et,
struct ocfs2_path *path,
int split_index,
struct ocfs2_extent_rec *split_rec,
struct ocfs2_cached_dealloc_ctxt *dealloc,
struct ocfs2_merge_ctxt *ctxt,
struct ocfs2_extent_tree *et)

struct ocfs2_merge_ctxt *ctxt)
{
int ret = 0;
struct ocfs2_extent_list *el = path_leaf_el(path);
Expand Down Expand Up @@ -5069,9 +5067,9 @@ static int __ocfs2_mark_extent_written(struct inode *inode,
if (ret)
mlog_errno(ret);
} else {
ret = ocfs2_try_to_merge_extent(inode, handle, path,
ret = ocfs2_try_to_merge_extent(handle, et, path,
split_index, split_rec,
dealloc, &ctxt, et);
dealloc, &ctxt);
if (ret)
mlog_errno(ret);
}
Expand Down

0 comments on commit 836a381

Please sign in to comment.