]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove xfs_bmapi_remap() dfops param
authorBrian Foster <bfoster@redhat.com>
Thu, 4 Oct 2018 19:32:01 +0000 (14:32 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 4 Oct 2018 19:32:01 +0000 (14:32 -0500)
commitb5d7ff9a20740ea8ee0f7382cd83d761dd352d9a
treef07c49dd7534ed3587d11cc08f337fa15f9056ee
parent160ed12f70dac5b37b8f6f94f64f64b78fc4fbbb
xfs: remove xfs_bmapi_remap() dfops param

Source kernel commit: ff3edf255da7a1ceb0fb2cb7f195fc27edd0091d

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h