]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: move xfs_rmap_update_defer_add to xfs_rmap_item.c
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 May 2024 04:11:45 +0000 (21:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:17:06 +0000 (17:17 -0700)
commitb09fe2c7b17cdfb9e3310f41a136d7d0a9da7692
treee1e355a53e7b6b0c9ce95c3533f25361960a4034
parenta568243c1f1a063dd8ff321b4fa9af20e6678485
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