]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: move xfs_refcount_update_defer_add to xfs_refcount_item.c
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:43 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 9 Jul 2024 22:37:08 +0000 (15:37 -0700)
commit98e101f3325c43c7bd50fa628bd6ea095305d6b3
tree23cf6cc87396c8b3d963400e00f09e7f15546ed8
parenteb0bdae6c1f7d52756304a980f5ef5bd5422ea99
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>
libxfs/defer_item.c
libxfs/defer_item.h
libxfs/xfs_refcount.c
libxfs/xfs_refcount.h