xfs: open code xfs_btree_check_lptr in xfs_bmap_btree_to_extents
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)
commitfb0793f206701a68f8588a09bf32f7cf44878ea3
treea1e243344c2e871c6bbdc1f7547f7094c906dab3
parent8b8ada973cacff338a0e817a97dd0afa301798c0
xfs: open code xfs_btree_check_lptr in xfs_bmap_btree_to_extents

xfs_bmap_btree_to_extents always passes a level of 1 to
xfs_btree_check_lptr, thus making the level check redundant.

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_bmap.c