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
@@ -973,9 +973,8 @@ xfs_alloc_file_space(
|
||||
|
||||
xfs_defer_init(tp, &dfops, &tp->t_firstblock);
|
||||
error = xfs_bmapi_write(tp, ip, startoffset_fsb,
|
||||
allocatesize_fsb, alloc_type,
|
||||
&tp->t_firstblock, resblks, imapp,
|
||||
&nimaps);
|
||||
allocatesize_fsb, alloc_type, resblks,
|
||||
imapp, &nimaps);
|
||||
if (error)
|
||||
goto error0;
|
||||
|
||||
|
Reference in New Issue
Block a user