]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: add a xfs_bmap_free_rtblocks helper
authorChristoph Hellwig <hch@lst.de>
Mon, 25 Nov 2024 21:14:19 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:29 +0000 (18:01 -0800)
commit7ac3ad4cb4a160244c3a8fcf009f2b4a7e6ce072
treea010cfa2eb96b52b1ef59fd3ffbeffb2fc7c3845
parent15c6dada7cb7f73d3e64ba22112b3263f77804a0
xfs: add a xfs_bmap_free_rtblocks helper

Source kernel commit: 9c3cfb9c96eee7f1656ef165e1471e1778510f6f

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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_bmap.c