]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: move xfs_extent_free_defer_add to xfs_extfree_item.c
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 May 2024 04:11:39 +0000 (21:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 1 Aug 2024 00:09:53 +0000 (17:09 -0700)
commita3bf3f8e12f8f00a0d0c5b80cdf1cb04bf2b68e2
treee7bd5fa87f61395687cac3cd923fe9a7c08498d8
parenta69dba05d522705e1987769dc010fba80d438e29
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