diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-17 21:37:40 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-26 15:38:25 -0700 |
commit | efa7a99ce1f8615aca7b0ff3122a1ae14e4d1cdc (patch) | |
tree | d133547af1f14377606a6eee2ddcf23b9217e660 /fs/xfs/scrub/scrub.c | |
parent | a12890aebb895951720ff884eab1c99a30645b29 (diff) | |
download | linux-efa7a99ce1f8615aca7b0ff3122a1ae14e4d1cdc.tar.bz2 |
xfs: scrub free space btrees
Check the extent records free space btrees to ensure that the values
look sane.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/scrub.c')
-rw-r--r-- | fs/xfs/scrub/scrub.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index 72fa72a3f59c..4398b34614d7 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -174,6 +174,14 @@ static const struct xfs_scrub_meta_ops meta_scrub_ops[] = { .setup = xfs_scrub_setup_ag_header, .scrub = xfs_scrub_agi, }, + { /* bnobt */ + .setup = xfs_scrub_setup_ag_allocbt, + .scrub = xfs_scrub_bnobt, + }, + { /* cntbt */ + .setup = xfs_scrub_setup_ag_allocbt, + .scrub = xfs_scrub_cntbt, + }, }; /* This isn't a stable feature, warn once per day. */ |