diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:43:38 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:43:38 +0300 |
commit | 32080a9b9b2ef8f4089e8e28a2c307334431757e (patch) | |
tree | e89aa372748628fe9d42f1e4c2ec5d35a3e66696 /fs/xfs/scrub/common.c | |
parent | e4fd1def30987bbf0fb00867d22cc2634b8dacf0 (diff) | |
download | linux-32080a9b9b2ef8f4089e8e28a2c307334431757e.tar.xz |
xfs: repair the rmapbt
Rebuild the reverse mapping btree from all primary metadata. This first
patch establishes the bare mechanics of finding records and putting
together a new ondisk tree; more complex pieces are needed to make it
work properly.
Link: Documentation/filesystems/xfs-online-fsck-design.rst
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/scrub/common.c')
-rw-r--r-- | fs/xfs/scrub/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/common.c b/fs/xfs/scrub/common.c index 70746a7db954..dea883632b2d 100644 --- a/fs/xfs/scrub/common.c +++ b/fs/xfs/scrub/common.c @@ -460,7 +460,7 @@ xchk_perag_read_headers( * Grab the AG headers for the attached perag structure and wait for pending * intents to drain. */ -static int +int xchk_perag_drain_and_lock( struct xfs_scrub *sc) { |