]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: walk the rt reference count tree when rebuilding rmap
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:21:12 +0000 (16:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:16 +0000 (13:06 -0800)
commit477493082fe8a480e33cb26ff545b5976818c071
treee4c9281cfe2faff0d85a0aba59b9d91c2b52f339
parent6470ceef325c886cac909631d212839ee653dbc6
xfs: walk the rt reference count tree when rebuilding rmap

When we're rebuilding the data device rmap, if we encounter a "refcount"
format fork, we have to walk the (realtime) refcount btree inode to
build the appropriate mappings.

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