summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/dabtree.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-08-30 15:44:56 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-22 21:35:03 -0800
commit218d5fd03d5ee80065b718d64f13f46c845dff80 (patch)
treef395bad4cb8777cf527c51ab8df5b92bdfffcda1 /fs/xfs/scrub/dabtree.h
parentfbaf403dac73d7e3bf07c9ff8e041eae761c50c0 (diff)
xfs: scrub should set preen if attr leaf has holesrepair-inode-data_2019-11-22
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 <darrick.wong@oracle.com> 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 cb3f0003245b..b367bf87a183 100644
--- a/fs/xfs/scrub/dabtree.h
+++ b/fs/xfs/scrub/dabtree.h
@@ -36,6 +36,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,