diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-02-12 22:42:08 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-09-04 19:07:58 -0400 |
commit | 1bbf0b8d606645c7596ee641acfbf042765c9719 (patch) | |
tree | 7d0f4fd611b4617ed52ed6dad7332334381dbe0e /fs/ocfs2/alloc.c | |
parent | 6136ca5f5f9fd38da399e9ff9380f537c1b3b901 (diff) |
ocfs2: ocfs2_rotate_tree_right() doesn't need struct inode.
We don't need struct inode in ocfs2_rotate_tree_right() anymore.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.c')
-rw-r--r-- | fs/ocfs2/alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index 072f7fe54073..93f02a11302e 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c | |||
@@ -2308,7 +2308,7 @@ static int ocfs2_leftmost_rec_contains(struct ocfs2_extent_list *el, u32 cpos) | |||
2308 | * *ret_left_path will contain a valid path which can be passed to | 2308 | * *ret_left_path will contain a valid path which can be passed to |
2309 | * ocfs2_insert_path(). | 2309 | * ocfs2_insert_path(). |
2310 | */ | 2310 | */ |
2311 | static int ocfs2_rotate_tree_right(struct inode *inode, handle_t *handle, | 2311 | static int ocfs2_rotate_tree_right(handle_t *handle, |
2312 | struct ocfs2_extent_tree *et, | 2312 | struct ocfs2_extent_tree *et, |
2313 | enum ocfs2_split_type split, | 2313 | enum ocfs2_split_type split, |
2314 | u32 insert_cpos, | 2314 | u32 insert_cpos, |
@@ -4254,7 +4254,7 @@ static int ocfs2_do_insert_extent(struct inode *inode, | |||
4254 | * can wind up skipping both of these two special cases... | 4254 | * can wind up skipping both of these two special cases... |
4255 | */ | 4255 | */ |
4256 | if (rotate) { | 4256 | if (rotate) { |
4257 | ret = ocfs2_rotate_tree_right(inode, handle, et, type->ins_split, | 4257 | ret = ocfs2_rotate_tree_right(handle, et, type->ins_split, |
4258 | le32_to_cpu(insert_rec->e_cpos), | 4258 | le32_to_cpu(insert_rec->e_cpos), |
4259 | right_path, &left_path); | 4259 | right_path, &left_path); |
4260 | if (ret) { | 4260 | if (ret) { |