xfs: remove xfs_bmapi_write() 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
d0a9d79572
commit
a7beabeae2
@@ -311,8 +311,7 @@ xfs_dquot_disk_alloc(
|
||||
xfs_trans_ijoin(tp, quotip, XFS_ILOCK_EXCL);
|
||||
error = xfs_bmapi_write(tp, quotip, dqp->q_fileoffset,
|
||||
XFS_DQUOT_CLUSTER_SIZE_FSB, XFS_BMAPI_METADATA,
|
||||
&tp->t_firstblock, XFS_QM_DQALLOC_SPACE_RES(mp),
|
||||
&map, &nmaps);
|
||||
XFS_QM_DQALLOC_SPACE_RES(mp), &map, &nmaps);
|
||||
if (error)
|
||||
goto error0;
|
||||
ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB);
|
||||
|
Reference in New Issue
Block a user