]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: rebuild free space btrees with bulk loader
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 10 Jul 2020 19:35:46 +0000 (15:35 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 10 Jul 2020 19:35:46 +0000 (15:35 -0400)
commit7e5ec4e4ec6c00a9433e1939ec48200c655d3780
tree20f6fd3d945ed709cc3d00e1cb9981cbdc3dd36b
parent79f86c9d3efebe96168d39e401f7cf6471fd4fd2
xfs_repair: rebuild free space btrees with bulk loader

Use the btree bulk loading functions to rebuild the free space btrees
and drop the open-coded implementation.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
[sandeen: move phase5_func changes into this patch]
[sandeen: adjust for prior inclusion of "fix rebuilding btree block..."]
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_api_defs.h
repair/agbtree.c
repair/agbtree.h
repair/phase5.c