Skip to content

Commit

Permalink
ocfs2: ocfs2_figure_insert_type() no longer needs struct inode.
Browse files Browse the repository at this point in the history
It's not using it, so remove it from the parameter list.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
  • Loading branch information
Joel Becker committed Sep 4, 2009
1 parent 1ef61b3 commit 627961b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fs/ocfs2/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4530,8 +4530,7 @@ static void ocfs2_figure_appending_type(struct ocfs2_insert_type *insert,
* All of the information is stored on the ocfs2_insert_type
* structure.
*/
static int ocfs2_figure_insert_type(struct inode *inode,
struct ocfs2_extent_tree *et,
static int ocfs2_figure_insert_type(struct ocfs2_extent_tree *et,
struct buffer_head **last_eb_bh,
struct ocfs2_extent_rec *insert_rec,
int *free_records,
Expand Down Expand Up @@ -4691,7 +4690,7 @@ int ocfs2_insert_extent(struct ocfs2_super *osb,
goto bail;
}

status = ocfs2_figure_insert_type(inode, et, &last_eb_bh, &rec,
status = ocfs2_figure_insert_type(et, &last_eb_bh, &rec,
&free_records, &insert);
if (status < 0) {
mlog_errno(status);
Expand Down

0 comments on commit 627961b

Please sign in to comment.