]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: use ->t_dfops for collapse/insert range operations
authorBrian Foster <bfoster@redhat.com>
Thu, 12 Jul 2018 05:26:15 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:15 +0000 (22:26 -0700)
commitabe86e017015418b334cec9e988aa444eb35da88
tree66af2d83dd7fcaea01e11509ab84b26a69b472d5
parent802dab635d4d05237c975a41f9bc3800d51fe079
xfs: use ->t_dfops for collapse/insert range operations

Use ->t_dfops for the collapse and insert range transactions. These
are the only callers of the respective bmap helpers, so replace the
unnecessary dfops parameters with direct accesses to ->t_dfops.

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
fs/xfs/xfs_bmap_util.c