xfs: support inode btree blockcounts in online repair
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 26 Aug 2020 17:48:50 +0000 (10:48 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:40 +0000 (20:52 -0700)
commit11f744234f052922db4ed77dad35862b3d3164cf
treea2061e42252981056fa14dafe5b6ba74827c45d5
parent1dbbff029f9387603b8cc8cb5741058ce2f837e1
xfs: support inode btree blockcounts in online repair

Add the necessary bits to the online repair code to support logging the
inode btree counters when rebuilding the btrees, and to support fixing
the counters when rebuilding the AGI.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_ialloc_btree.c
fs/xfs/scrub/agheader_repair.c