]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
xfs: remove xfs_bmapi_remap() dfops param
authorBrian Foster <bfoster@redhat.com>
Thu, 12 Jul 2018 05:26:14 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:14 +0000 (22:26 -0700)
commitff3edf255da7a1ceb0fb2cb7f195fc27edd0091d
treed55c9088c3c6bbfd278e8431e892bdbe0a9f8f86
parentccd9d91148780a5e979ac00bce67c2155fb6378f
xfs: remove xfs_bmapi_remap() dfops param

All xfs_bmapi_remap() callers already use ->t_dfops. Note that
deferred completion context unconditionally sets ->t_dfops if it
hasn't already been set by the caller. Remove the unnecessary
parameter and access ->t_dfops directly.

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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.h