]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: check new rtbitmap records against rt refcount btree
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:21:11 +0000 (16:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:16 +0000 (13:06 -0800)
commit6470ceef325c886cac909631d212839ee653dbc6
treef809f31704a354cb022d654f4bafe64f56c49aea
parentcca34a305446f0eeea7c6c76bbb01ecf58be9cbc
xfs: check new rtbitmap records against rt refcount btree

When we're rebuilding the realtime bitmap, check the proposed free
extents against the rt refcount btree to make sure we don't commit any
grievous errors.

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