From 629f18062178650fd34b11cdad34df6a948e09bb Mon Sep 17 00:00:00 2001 From: Joel Becker Date: Thu, 12 Feb 2009 19:42:08 -0800 Subject: [PATCH] --- yaml --- r: 165075 b: refs/heads/master c: 1bbf0b8d606645c7596ee641acfbf042765c9719 h: refs/heads/master i: 165073: 91327a8b8f52f9ef63ce3a0e21872b1081634a77 165071: ff759192860e7e0ee4598ae0994372f854f5fdda v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/alloc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index d6ac71a224ee..2df4ee98fdb3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6136ca5f5f9fd38da399e9ff9380f537c1b3b901 +refs/heads/master: 1bbf0b8d606645c7596ee641acfbf042765c9719 diff --git a/trunk/fs/ocfs2/alloc.c b/trunk/fs/ocfs2/alloc.c index 072f7fe54073..93f02a11302e 100644 --- a/trunk/fs/ocfs2/alloc.c +++ b/trunk/fs/ocfs2/alloc.c @@ -2308,7 +2308,7 @@ static int ocfs2_leftmost_rec_contains(struct ocfs2_extent_list *el, u32 cpos) * *ret_left_path will contain a valid path which can be passed to * ocfs2_insert_path(). */ -static int ocfs2_rotate_tree_right(struct inode *inode, handle_t *handle, +static int ocfs2_rotate_tree_right(handle_t *handle, struct ocfs2_extent_tree *et, enum ocfs2_split_type split, u32 insert_cpos, @@ -4254,7 +4254,7 @@ static int ocfs2_do_insert_extent(struct inode *inode, * can wind up skipping both of these two special cases... */ if (rotate) { - ret = ocfs2_rotate_tree_right(inode, handle, et, type->ins_split, + ret = ocfs2_rotate_tree_right(handle, et, type->ins_split, le32_to_cpu(insert_rec->e_cpos), right_path, &left_path); if (ret) {