]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: pass transaction to dfops reset/move helpers
authorBrian Foster <bfoster@redhat.com>
Fri, 5 Oct 2018 02:36:11 +0000 (21:36 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 5 Oct 2018 02:36:11 +0000 (21:36 -0500)
commit76a3c33d438ba9c7cd3d1857d09933999d3875ad
tree0fa09832670caf83aa8ed8255e9d25a8e89df2b4
parent229135509c199a61a88335ec6ab4441b640b5c85
xfs: pass transaction to dfops reset/move helpers

Source kernel commit: ce356d64772f920f26cd6c1b02878a737a275638

All callers pass ->t_dfops of the associated transactions. Refactor
the helpers to receive the transactions and facilitate further
cleanups between xfs_defer_ops and xfs_trans.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/trans.c
libxfs/xfs_defer.c
libxfs/xfs_defer.h