summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_symlink.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-12 07:26:13 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-12 07:26:13 +0200
commitccd9d91148780a5e979ac00bce67c2155fb6378f (patch)
tree6a205b024861f4849d28058a849cc96b3aceeaf1 /fs/xfs/xfs_symlink.c
parentxfs: use ->t_dfops for all xfs_bunmapi() callers (diff)
downloadlinux-ccd9d91148780a5e979ac00bce67c2155fb6378f.tar.xz
linux-ccd9d91148780a5e979ac00bce67c2155fb6378f.zip
xfs: remove xfs_bunmapi() dfops param
Now that all xfs_bunmapi() callers use ->t_dfops, remove the unnecessary parameter 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_symlink.c')
-rw-r--r--fs/xfs/xfs_symlink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c
index 290ae13d4673..a54f095c1409 100644
--- a/fs/xfs/xfs_symlink.c
+++ b/fs/xfs/xfs_symlink.c
@@ -466,8 +466,7 @@ xfs_inactive_symlink_rmt(
/*
* Unmap the dead block(s) to the dfops.
*/
- error = xfs_bunmapi(tp, ip, 0, size, 0, nmaps,
- &first_block, tp->t_dfops, &done);
+ error = xfs_bunmapi(tp, ip, 0, size, 0, nmaps, &first_block, &done);
if (error)
goto error_bmap_cancel;
ASSERT(done);