diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/alloc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index 38b1fea9af67..3d09f4ba39eb 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c | |||
@@ -4530,8 +4530,7 @@ set_tail_append: | |||
4530 | * All of the information is stored on the ocfs2_insert_type | 4530 | * All of the information is stored on the ocfs2_insert_type |
4531 | * structure. | 4531 | * structure. |
4532 | */ | 4532 | */ |
4533 | static int ocfs2_figure_insert_type(struct inode *inode, | 4533 | static int ocfs2_figure_insert_type(struct ocfs2_extent_tree *et, |
4534 | struct ocfs2_extent_tree *et, | ||
4535 | struct buffer_head **last_eb_bh, | 4534 | struct buffer_head **last_eb_bh, |
4536 | struct ocfs2_extent_rec *insert_rec, | 4535 | struct ocfs2_extent_rec *insert_rec, |
4537 | int *free_records, | 4536 | int *free_records, |
@@ -4691,7 +4690,7 @@ int ocfs2_insert_extent(struct ocfs2_super *osb, | |||
4691 | goto bail; | 4690 | goto bail; |
4692 | } | 4691 | } |
4693 | 4692 | ||
4694 | status = ocfs2_figure_insert_type(inode, et, &last_eb_bh, &rec, | 4693 | status = ocfs2_figure_insert_type(et, &last_eb_bh, &rec, |
4695 | &free_records, &insert); | 4694 | &free_records, &insert); |
4696 | if (status < 0) { | 4695 | if (status < 0) { |
4697 | mlog_errno(status); | 4696 | mlog_errno(status); |