]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: use xfs_defer_create_done for the relogging operation
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:32 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:23 +0000 (14:06 -0700)
commit35d610ce2c6616fca1716d7756eeb8ad06e4004f
tree8e6f96cb0b20744c54e7159837ad04907b486219
parent63a3ea39f6a0b212ef59e27356a39bfbac294a4d
xfs: use xfs_defer_create_done for the relogging operation

Source kernel commit: bd3a88f6b71c7509566b44b7021581191cc11ae3

Now that we have a helper to handle creating a log intent done item and
updating all the necessary state flags, use it to reduce boilerplate in
the ->iop_relog implementations.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
include/xfs_trans.h
libxfs/xfs_defer.c