]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: move xfs_refcount_update_defer_add to xfs_refcount_item.c
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:22:40 +0000 (18:22 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit11a046c0550871eb905fb949d4569e32484c3864
tree2e000ffa96d759caa00d6984224c123b9d28fefa
parent21f95f3ac61f764a57a75c61cf6a34301cfc9212
xfs: move xfs_refcount_update_defer_add to xfs_refcount_item.c

Source kernel commit: 783e8a7c9cab6744ebc5dfe75081248ac39181b2

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>
libxfs/defer_item.c
libxfs/defer_item.h
libxfs/xfs_refcount.c
libxfs/xfs_refcount.h