]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: move xfs_extent_free_defer_add to xfs_extfree_item.c
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:18:14 +0000 (18:18 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commitfea60f70c810e93dce85470d94432afb65e7234f
tree3f6a91134651c100ebd7cdd0486f497e1998a689
parent02a830d4f89f0f77973d2314a61140bb47dc3cf2
xfs: move xfs_extent_free_defer_add to xfs_extfree_item.c

Source kernel commit: 84a3c1576c5aade32170fae6c61d51bd2d16010f

Move the code that adds the incore xfs_extent_free_item deferred work
data to a transaction to live with the EFI log item code.  This means
that the allocator code no longer has to know about the inner workings
of the EFI log items.

As a consequence, we can get rid of the _{get,put}_group helpers.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/defer_item.c
libxfs/defer_item.h
libxfs/xfs_alloc.c
libxfs/xfs_alloc.h