xfs: remove bmap insert/collapse firstblock param
The only callers pass ->t_firstblock. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:

committed by
Darrick J. Wong

parent
2af5284253
commit
333f950c89
@@ -1343,7 +1343,7 @@ xfs_collapse_file_space(
|
||||
|
||||
xfs_defer_init(tp, &dfops, &tp->t_firstblock);
|
||||
error = xfs_bmap_collapse_extents(tp, ip, &next_fsb, shift_fsb,
|
||||
&done, &tp->t_firstblock);
|
||||
&done);
|
||||
if (error)
|
||||
goto out_bmap_cancel;
|
||||
|
||||
@@ -1421,7 +1421,7 @@ xfs_insert_file_space(
|
||||
xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
|
||||
xfs_defer_init(tp, &dfops, &tp->t_firstblock);
|
||||
error = xfs_bmap_insert_extents(tp, ip, &next_fsb, shift_fsb,
|
||||
&done, stop_fsb, &tp->t_firstblock);
|
||||
&done, stop_fsb);
|
||||
if (error)
|
||||
goto out_bmap_cancel;
|
||||
|
||||
|
Reference in New Issue
Block a user