xfs: factor out a __xfs_btree_check_lblock_hdr helper
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:40:59 +0000 (12:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:40:59 +0000 (12:40 -0800)
commit79e72304dcba471e5c0dea2f3c67fe1a0558c140
tree48e36fa13e75c90aaa5027d9332bd88d8f217e18
parent5ef819c34f954fccfc42f79b9b0bea9b40cef9a1
xfs: factor out a __xfs_btree_check_lblock_hdr helper

This will allow sharing code with the in-memory block checking helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_btree.c