diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-08-09 22:42:53 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-08-10 11:44:31 -0700 |
commit | f9ed6debca45dd9bcc02d77c98822d50aba342f4 (patch) | |
tree | a7174c2c3055e1bb3bd5383e36521a5ecb006b61 /fs/xfs/scrub/scrub.c | |
parent | 73971b172a435079340007bee12b4944cc599a8a (diff) | |
download | linux-f9ed6debca45dd9bcc02d77c98822d50aba342f4.tar.bz2 |
xfs: repair the AGF
Regenerate the AGF from the rmap data.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/scrub.c')
-rw-r--r-- | fs/xfs/scrub/scrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index 6efb926f3cf8..1e8a17c8e2b9 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -214,7 +214,7 @@ static const struct xchk_meta_ops meta_scrub_ops[] = { .type = ST_PERAG, .setup = xchk_setup_fs, .scrub = xchk_agf, - .repair = xrep_notsupported, + .repair = xrep_agf, }, [XFS_SCRUB_TYPE_AGFL]= { /* agfl */ .type = ST_PERAG, |