]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: move xfs_refcount_update_defer_add to xfs_refcount_item.c
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:23:12 +0000 (11:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:07 +0000 (11:37 -0700)
commit783e8a7c9cab6744ebc5dfe75081248ac39181b2
tree7c225d1b3b5286fb7205165e2dae253eba15a091
parente51987a12cb57ca3702bff5df8a615037b2c8f8a
xfs: move xfs_refcount_update_defer_add to xfs_refcount_item.c

Move the code that adds the incore xfs_refcount_update_item deferred
work data to a transaction live with the CUI log item code.  This means
that the refcount code no longer has to know about the inner workings of
the CUI 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_refcount.c
fs/xfs/libxfs/xfs_refcount.h
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_refcount_item.h