summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-11 22:26:12 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:12 -0700
commit6e702a5dcbe1d38cf479931dd2e2a3da884143f0 (patch)
tree069cc3a88b33e1518a643c0a56176cbd0adf1b3a /fs/xfs/xfs_rtalloc.c
parent175d1a013eaf35c802e0195d87ac2a8df83ad42a (diff)
downloadlinux-6e702a5dcbe1d38cf479931dd2e2a3da884143f0.tar.bz2
xfs: remove xfs_bmapi_write() dfops param
Now that all callers use ->t_dfops, the xfs_bmapi_write() dfops parameter is no longer necessary. Remove it and access ->t_dfops directly. This patch does not change behavior. 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>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r--fs/xfs/xfs_rtalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
index 312d410d91fb..1c7d1238ff3b 100644
--- a/fs/xfs/xfs_rtalloc.c
+++ b/fs/xfs/xfs_rtalloc.c
@@ -795,7 +795,7 @@ xfs_growfs_rt_alloc(
nmap = 1;
error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks,
XFS_BMAPI_METADATA, &firstblock,
- resblks, &map, &nmap, tp->t_dfops);
+ resblks, &map, &nmap);
if (!error && nmap < 1)
error = -ENOSPC;
if (error)