diff options
| author | 2018-07-11 22:26:13 -0700 | |
|---|---|---|
| committer | 2018-07-11 22:26:13 -0700 | |
| commit | ccd9d91148780a5e979ac00bce67c2155fb6378f (patch) | |
| tree | 6a205b024861f4849d28058a849cc96b3aceeaf1 /fs/xfs/xfs_inode.c | |
| parent | xfs: use ->t_dfops for all xfs_bunmapi() callers (diff) | |
| download | linux-dev-ccd9d91148780a5e979ac00bce67c2155fb6378f.tar.xz linux-dev-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_inode.c')
| -rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 539d96201666..f456df2e1394 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1588,7 +1588,7 @@ xfs_itruncate_extents_flags( tp->t_dfops = &dfops; error = xfs_bunmapi(tp, ip, first_unmap_block, unmap_len, flags, XFS_ITRUNC_MAX_EXTENTS, &first_block, - tp->t_dfops, &done); + &done); if (error) goto out_bmap_cancel; |
