ocfs2: ocfs2_figure_insert_type() no longer needs struct inode.
It's not using it, so remove it from the parameter list. Signed-off-by: Joel Becker <joel.becker@oracle.com>
This commit is contained in:
parent
1ef61b3314
commit
627961b77e
@ -4530,8 +4530,7 @@ set_tail_append:
|
|||||||
* All of the information is stored on the ocfs2_insert_type
|
* All of the information is stored on the ocfs2_insert_type
|
||||||
* structure.
|
* structure.
|
||||||
*/
|
*/
|
||||||
static int ocfs2_figure_insert_type(struct inode *inode,
|
static int ocfs2_figure_insert_type(struct ocfs2_extent_tree *et,
|
||||||
struct ocfs2_extent_tree *et,
|
|
||||||
struct buffer_head **last_eb_bh,
|
struct buffer_head **last_eb_bh,
|
||||||
struct ocfs2_extent_rec *insert_rec,
|
struct ocfs2_extent_rec *insert_rec,
|
||||||
int *free_records,
|
int *free_records,
|
||||||
@ -4691,7 +4690,7 @@ int ocfs2_insert_extent(struct ocfs2_super *osb,
|
|||||||
goto bail;
|
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);
|
&free_records, &insert);
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
mlog_errno(status);
|
mlog_errno(status);
|
||||||
|
Loading…
Reference in New Issue
Block a user