]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: move xfs_bmap_defer_add to xfs_bmap_item.c
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:12 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:41 +0000 (11:37 -0700)
commit9e471add0671850b0305273c2604e66e1b30e102
treef5625f608c521605e7af2cc11d0fe701e8c08101
parent588d0291489ca8043afc4357d23dc86c5fc75395
xfs: move xfs_bmap_defer_add to xfs_bmap_item.c

Source kernel commit: 80284115854e60686b2e0183b31bb303ae69aa8c

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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/Makefile
libxfs/defer_item.c
libxfs/defer_item.h [new file with mode: 0644]
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h