xfs: repair the AGF
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 10 Aug 2018 05:42:53 +0000 (22:42 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 10 Aug 2018 18:44:31 +0000 (11:44 -0700)
commitf9ed6debca45dd9bcc02d77c98822d50aba342f4
treea7174c2c3055e1bb3bd5383e36521a5ecb006b61
parent73971b172a435079340007bee12b4944cc599a8a
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>
fs/xfs/scrub/agheader_repair.c
fs/xfs/scrub/repair.c
fs/xfs/scrub/repair.h
fs/xfs/scrub/scrub.c