summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-11 22:26:27 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:27 -0700
commit333f950c89a17018f812eae13daaa2a404c413c1 (patch)
tree68517072248d6280be665f2c6616627d880016fd /fs/xfs/xfs_bmap_util.c
parent2af528425342dc8f696b28693c5e61587cd72b43 (diff)
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>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
-rw-r--r--fs/xfs/xfs_bmap_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c
index f225707c89be..e9907bbe9529 100644
--- a/fs/xfs/xfs_bmap_util.c
+++ b/fs/xfs/xfs_bmap_util.c
@@ -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;