summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/dabtree.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-05 17:45:17 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-03-25 17:08:30 -0700
commit3f3eed44b26e68e59669ffa2944315d71a038689 (patch)
tree84780bc471b3d5d051c9cc1bfe88c2043f1cc9ca /fs/xfs/scrub/dabtree.h
parent04a437b26d8c49486fb96d26f910f7a24e1b3fab (diff)
xfs: scrub should set preen if attr leaf has holesrepair-xattrs_2021-03-25
If an attr block indicates that it could use compaction, set the preen flag to have the attr fork rebuilt, since the attr fork rebuilder can take care of that for us. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/dabtree.h')
-rw-r--r--fs/xfs/scrub/dabtree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/dabtree.h b/fs/xfs/scrub/dabtree.h
index 1f3515c6d5a8..8066fa00dc1b 100644
--- a/fs/xfs/scrub/dabtree.h
+++ b/fs/xfs/scrub/dabtree.h
@@ -35,6 +35,7 @@ bool xchk_da_process_error(struct xchk_da_btree *ds, int level, int *error);
/* Check for da btree corruption. */
void xchk_da_set_corrupt(struct xchk_da_btree *ds, int level);
+void xchk_da_set_preen(struct xchk_da_btree *ds, int level);
int xchk_da_btree_hash(struct xchk_da_btree *ds, int level, __be32 *hashp);
int xchk_da_btree(struct xfs_scrub *sc, int whichfork,