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>
This commit is contained in:
Brian Foster
2018-07-11 22:26:13 -07:00
committed by Darrick J. Wong
parent 4bcfa613a0
commit ccd9d91148
9 changed files with 19 additions and 24 deletions

View File

@@ -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);