]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: move xfs_extent_free_defer_add to xfs_extfree_item.c
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:22:56 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:03 +0000 (11:37 -0700)
commit84a3c1576c5aade32170fae6c61d51bd2d16010f
tree0412c6dbf69b33bf4447a304a91a9f6b173e065a
parent7272f77c67c0710918e5678266f8dad6e3bfc8d2
xfs: move xfs_extent_free_defer_add to xfs_extfree_item.c

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>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_alloc.h
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_extfree_item.h