[GIT PULL 9/18] xfs: btree check cleanups

Darrick J. Wong
2024-02-24T01:31:18Z

The following changes since commit ec793e690f801d97a7ae2a0d429fea1fee4d44aa:

xfs: remove xfs_btnum_t (2024-02-22 12:40:51 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/btree-check-cleanups-6.9_2024-02-23

for you to fetch changes up to 79e72304dcba471e5c0dea2f3c67fe1a0558c140:

xfs: factor out a __xfs_btree_check_lblock_hdr helper (2024-02-22 12:40:59 -0800)

----------------------------------------------------------------
xfs: btree check cleanups [v29.3 09/18]

Minor cleanups for the btree block pointer checking code.

This has been running on the djcloud for months with no problems. Enjoy!

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
Christoph Hellwig (10):
xfs: simplify xfs_btree_check_sblock_siblings
xfs: simplify xfs_btree_check_lblock_siblings
xfs: open code xfs_btree_check_lptr in xfs_bmap_btree_to_extents
xfs: consolidate btree ptr checking
xfs: misc cleanups for __xfs_btree_check_sblock
xfs: remove the crc variable in __xfs_btree_check_lblock
xfs: tighten up validation of root block in inode forks
xfs: consolidate btree block verification
xfs: rename btree helpers that depends on the block number representation
xfs: factor out a __xfs_btree_check_lblock_hdr helper

fs/xfs/libxfs/xfs_alloc_btree.c | 8 +-
fs/xfs/libxfs/xfs_bmap.c | 2 +-
fs/xfs/libxfs/xfs_bmap_btree.c | 8 +-
fs/xfs/libxfs/xfs_btree.c | 252 ++++++++++++++++++-------------------
fs/xfs/libxfs/xfs_btree.h | 44 ++-----
fs/xfs/libxfs/xfs_ialloc_btree.c | 8 +-
fs/xfs/libxfs/xfs_refcount_btree.c | 8 +-
fs/xfs/libxfs/xfs_rmap_btree.c | 8 +-
fs/xfs/scrub/btree.c | 21 +---
9 files changed, 159 insertions(+), 200 deletions(-)