xfs: create refcount bag structure for btree repairs
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:43:41 +0000 (12:43 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:43:41 +0000 (12:43 -0800)
commit7a2192ac109989e5e077271ca1876104acce731e
treea41a09202b18ce00cb1aba484b59a14e1ece0e3f
parent18a1e644b094a12e5417c386b850aaa85bdca51f
xfs: create refcount bag structure for btree repairs

Create a bag structure for refcount information that uses the refcount
bag btree defined in the previous patch.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/Makefile
fs/xfs/scrub/rcbag.c [new file with mode: 0644]
fs/xfs/scrub/rcbag.h [new file with mode: 0644]
fs/xfs/scrub/rcbag_btree.c
fs/xfs/scrub/rcbag_btree.h