Hi all, This is an assortment of random patches that I'm submitting before I send the deferred inactivation series. The first six patches are small fixes and cleanups of the online fsck code. The last patch in the series switches the btree height validation code to use the computed max heights instead of the static XFS_BTREE_MAXLEVEL define. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=random-fixes-5.13 --- fs/xfs/libxfs/xfs_alloc.c | 8 ++++---- fs/xfs/libxfs/xfs_ialloc.c | 4 ++-- fs/xfs/libxfs/xfs_inode_fork.c | 2 +- fs/xfs/scrub/agheader.c | 33 +++++++++------------------------ fs/xfs/scrub/common.c | 23 ++++++++++------------- fs/xfs/scrub/common.h | 5 ++--- fs/xfs/scrub/health.c | 3 ++- fs/xfs/scrub/quota.c | 6 ++++-- fs/xfs/scrub/repair.c | 6 +++++- fs/xfs/scrub/scrub.c | 2 +- 10 files changed, 40 insertions(+), 52 deletions(-)