]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: walk the rt reference count tree when rebuilding rmap
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 May 2024 04:13:27 +0000 (21:13 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 16 Jul 2024 22:50:54 +0000 (15:50 -0700)
commitdf48f072d5420e85824fcc0cd8266bcff7a1c8b3
tree2a053782c90321bdb7479acc65945f90409465b6
parent60285a09f8be43a2555ed258b3f9e3bce9ddf0a7
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>
fs/xfs/scrub/rmap_repair.c