xfs: move xfs_bmap_defer_add to xfs_bmap_item.c
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:44:21 +0000 (12:44 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:44:21 +0000 (12:44 -0800)
commit80284115854e60686b2e0183b31bb303ae69aa8c
treeffc678ce8f66efb84faf83b45424ababa29a2fd9
parent5d3d0a6ad287746017b198a153d2de81ecc7491e
xfs: move xfs_bmap_defer_add to xfs_bmap_item.c

Move the code that adds the incore xfs_bmap_item deferred work data to a
transaction live with the BUI log item code.  This means that the file
mapping code no longer has to know about the inner workings of the BUI
log items.

As a consequence, we can hide the _get_group helper.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_bmap_item.h