]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: check reference counts of gaps between rt refcount records
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:21:08 +0000 (16:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:15 +0000 (13:06 -0800)
commit30f47950dc2ebaf906d389506c3a9ab048a8c08d
treeb9f0881759b020bc2fba6f2a703d882c6c51eba6
parent2d9a3e98053e8cfa6ec9c113efb7f8883cd148e6
xfs: check reference counts of gaps between rt refcount records

If there's a gap between records in the rt refcount btree, we ought to
cross-reference the gap with the rtrmap records to make sure that there
aren't any overlapping records for a region that doesn't have any shared
ownership.

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