]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: use ->t_dfops for collapse/insert range operations
authorBrian Foster <bfoster@redhat.com>
Thu, 4 Oct 2018 19:34:01 +0000 (14:34 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 4 Oct 2018 19:34:01 +0000 (14:34 -0500)
commit38aa99c275f07a68d0ee2e675234512d33f02708
tree4c4c6ead13279babeaea05c40fb7d1ccda3fb136
parentf717e151eb5447cc4931c0af4f97f8f80b24e694
xfs: use ->t_dfops for collapse/insert range operations

Source kernel commit: f4a9cf97faf4adb27e4e105beda420bb5253c502

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