On Mon, Nov 09, 2020 at 10:17:45AM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > The comment and logic in xchk_btree_check_minrecs for dealing with > inode-rooted btrees isn't quite correct. While the direct children of > the inode root are allowed to have fewer records than what would > normally be allowed for a regular ondisk btree block, this is only true > if there is only one child block and the number of records don't fit in > the inode root. > > Fixes: 08a3a692ef58 ("xfs: btree scrub should check minrecs") > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>