summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorBrian Foster2018-07-12 07:26:12 +0200
committerDarrick J. Wong2018-07-12 07:26:12 +0200
commit6e702a5dcbe1d38cf479931dd2e2a3da884143f0 (patch)
tree069cc3a88b33e1518a643c0a56176cbd0adf1b3a /fs/xfs/xfs_bmap_util.c
parentxfs: use ->t_dfops for all xfs_bmapi_write() callers (diff)
downloadkernel-qcow2-linux-6e702a5dcbe1d38cf479931dd2e2a3da884143f0.tar.gz
kernel-qcow2-linux-6e702a5dcbe1d38cf479931dd2e2a3da884143f0.tar.xz
kernel-qcow2-linux-6e702a5dcbe1d38cf479931dd2e2a3da884143f0.zip
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_bmap_util.c')
-rw-r--r--fs/xfs/xfs_bmap_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c
index 4a698dab85d2..cf54da3187d5 100644
--- a/fs/xfs/xfs_bmap_util.c
+++ b/fs/xfs/xfs_bmap_util.c
@@ -976,7 +976,7 @@ xfs_alloc_file_space(
tp->t_dfops = &dfops;
error = xfs_bmapi_write(tp, ip, startoffset_fsb,
allocatesize_fsb, alloc_type, &firstfsb,
- resblks, imapp, &nimaps, tp->t_dfops);
+ resblks, imapp, &nimaps);
if (error)
goto error0;