aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2018-07-12 05:26:25 +0000
committerDarrick J. Wong <[email protected]>2018-07-12 05:26:25 +0000
commita7beabeae221db2118a51f6948239d63b84499ca (patch)
tree33bfdf086cb1a4c89f96ae2d0d81bb00b23bf229 /fs/xfs/xfs_rtalloc.c
parentxfs: use ->t_firstblock in insert/collapse range (diff)
downloadkernel-a7beabeae221db2118a51f6948239d63b84499ca.tar.gz
kernel-a7beabeae221db2118a51f6948239d63b84499ca.zip
xfs: remove xfs_bmapi_write() firstblock param
All callers pass ->t_firstblock from the current transaction. Signed-off-by: Brian Foster <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r--fs/xfs/xfs_rtalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
index 1c894ea2abca..edd949376a51 100644
--- a/fs/xfs/xfs_rtalloc.c
+++ b/fs/xfs/xfs_rtalloc.c
@@ -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)