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
@@ -792,8 +792,8 @@ xfs_growfs_rt_alloc(
|
||||
*/
|
||||
nmap = 1;
|
||||
error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks,
|
||||
XFS_BMAPI_METADATA, &tp->t_firstblock,
|
||||
resblks, &map, &nmap);
|
||||
XFS_BMAPI_METADATA, resblks, &map,
|
||||
&nmap);
|
||||
if (!error && nmap < 1)
|
||||
error = -ENOSPC;
|
||||
if (error)
|
||||
|
Reference in New Issue
Block a user