summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_bmap.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-11 22:26:14 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:14 -0700
commitff3edf255da7a1ceb0fb2cb7f195fc27edd0091d (patch)
treed55c9088c3c6bbfd278e8431e892bdbe0a9f8f86 /fs/xfs/libxfs/xfs_bmap.h
parentccd9d91148780a5e979ac00bce67c2155fb6378f (diff)
downloadlinux-stable-ff3edf255da7a1ceb0fb2cb7f195fc27edd0091d.tar.gz
linux-stable-ff3edf255da7a1ceb0fb2cb7f195fc27edd0091d.tar.bz2
linux-stable-ff3edf255da7a1ceb0fb2cb7f195fc27edd0091d.zip
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_bmap.h')
-rw-r--r--fs/xfs/libxfs/xfs_bmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.h b/fs/xfs/libxfs/xfs_bmap.h
index a83906ec6141..2728e98e991a 100644
--- a/fs/xfs/libxfs/xfs_bmap.h
+++ b/fs/xfs/libxfs/xfs_bmap.h
@@ -284,6 +284,6 @@ xfs_failaddr_t xfs_bmap_validate_extent(struct xfs_inode *ip, int whichfork,
int xfs_bmapi_remap(struct xfs_trans *tp, struct xfs_inode *ip,
xfs_fileoff_t bno, xfs_filblks_t len, xfs_fsblock_t startblock,
- struct xfs_defer_ops *dfops, int flags);
+ int flags);
#endif /* __XFS_BMAP_H__ */