diff options
author | Brian Foster <bfoster@redhat.com> | 2018-07-11 22:26:25 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-11 22:26:25 -0700 |
commit | 2af528425342dc8f696b28693c5e61587cd72b43 (patch) | |
tree | 0b9bebd7ce3f2256ab3feff9d1d1b214fa25346b /fs/xfs/libxfs/xfs_da_btree.c | |
parent | a7beabeae221db2118a51f6948239d63b84499ca (diff) | |
download | linux-2af528425342dc8f696b28693c5e61587cd72b43.tar.gz linux-2af528425342dc8f696b28693c5e61587cd72b43.tar.bz2 linux-2af528425342dc8f696b28693c5e61587cd72b43.zip |
xfs: remove xfs_bunmapi() firstblock param
All callers pass ->t_firstblock from the current transaction.
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/libxfs/xfs_da_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_da_btree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_da_btree.c b/fs/xfs/libxfs/xfs_da_btree.c index fe4a192696ae..9efbd2038ffb 100644 --- a/fs/xfs/libxfs/xfs_da_btree.c +++ b/fs/xfs/libxfs/xfs_da_btree.c @@ -2392,8 +2392,7 @@ xfs_da_shrink_inode( * the last block to the place we want to kill. */ error = xfs_bunmapi(tp, dp, dead_blkno, count, - xfs_bmapi_aflag(w), 0, &tp->t_firstblock, - &done); + xfs_bmapi_aflag(w), 0, &done); if (error == -ENOSPC) { if (w != XFS_DATA_FORK) break; |