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>
This commit is contained in:

committed by
Darrick J. Wong

parent
a7beabeae2
commit
2af5284253
@@ -656,8 +656,7 @@ xfs_dir2_shrink_inode(
|
||||
da = xfs_dir2_db_to_da(args->geo, db);
|
||||
|
||||
/* Unmap the fsblock(s). */
|
||||
error = xfs_bunmapi(tp, dp, da, args->geo->fsbcount, 0, 0,
|
||||
&tp->t_firstblock, &done);
|
||||
error = xfs_bunmapi(tp, dp, da, args->geo->fsbcount, 0, 0, &done);
|
||||
if (error) {
|
||||
/*
|
||||
* ENOSPC actually can happen if we're in a removename with no
|
||||
|
Reference in New Issue
Block a user