]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: move xfs_rmap_update_defer_add to xfs_rmap_item.c
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:23:04 +0000 (11:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:05 +0000 (11:37 -0700)
commitea7b0820d960d5a3ee72bc67cbd8b5d47c67aa4c
tree05900e6e66335df3e8cccb39fd4e3525518e0aca
parent905af72610d90f58f994feff4ead1fc258f5d2b1
xfs: move xfs_rmap_update_defer_add to xfs_rmap_item.c

Move the code that adds the incore xfs_rmap_update_item deferred work
data to a transaction to live with the RUI log item code.  This means
that the rmap code no longer has to know about the inner workings of the
RUI 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_rmap.c
fs/xfs/libxfs/xfs_rmap.h
fs/xfs/xfs_rmap_item.c
fs/xfs/xfs_rmap_item.h