]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: add a xfs_bmap_free_rtblocks helper
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 04:19:07 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:36 +0000 (13:38 -0800)
commit9c3cfb9c96eee7f1656ef165e1471e1778510f6f
treeb26d726e4005a64e90f8e94a414fb7db04a6d2e0
parentcd5b26f0c099a8fd60181978a45ea81b6569c5a7
xfs: add a xfs_bmap_free_rtblocks helper

Split the RT extent freeing logic from xfs_bmap_del_extent_real because
it will become more complicated when adding RT group.

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