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)
commit19bd59611239da51f964e7d22811ee20b75604c8
treea2061e42252981056fa14dafe5b6ba74827c45d5
parent482cbb4e14c1890d264c0a96e7207b2633455df5
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