]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: consolidate btree ptr checking
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:07 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:39 +0000 (11:37 -0700)
commit2e671ebedee633406329e0e742d655805fcb8f36
tree432323fb0be31dcbbc5b614cd356327dfa3f0e5e
parent29c1de2849c2687c0519b55a0236b82158173ca0
xfs: consolidate btree ptr checking

Source kernel commit: 57982d6c835a71da5c66e6090680de1adf6e736a

Merge xfs_btree_check_sptr and xfs_btree_check_lptr into a single
__xfs_btree_check_ptr that can be shared between xfs_btree_check_ptr
and the scrub code.

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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_btree.c
libxfs/xfs_btree.h