xfs: simplify xfs_btree_check_lblock_siblings
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:40:53 +0000 (12:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:40:53 +0000 (12:40 -0800)
commit8b8ada973cacff338a0e817a97dd0afa301798c0
tree9c37aedb18e94a849232a725906105c6c0e5d4c0
parent4bc94bf640e08cf970354036683ec143a7ae974e
xfs: simplify xfs_btree_check_lblock_siblings

Stop using xfs_btree_check_lptr in xfs_btree_check_lblock_siblings,
as it only duplicates the xfs_verify_fsbno call in the other leg of
if / else besides adding a tautological level check.

With this the cur and level arguments can be removed as they are
now unused.

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