]> 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>
Tue, 9 Jan 2024 17:40:24 +0000 (09:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 10 Apr 2024 00:21:46 +0000 (17:21 -0700)
commitff8be99bc3ef2e67b60d496c9a81b8ade36207c5
tree8f95a2f86cdf0d4a1408acc71bb9c9f0375fe8c1
parent831a6af7f592ec8c0bfcf3464f87da5bd82bfa33
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