]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: add a xfs_btree_ptrs_equal helper
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:10 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:40 +0000 (11:37 -0700)
commit0e94002ff933d385f77f09771c6e599546b8bc17
tree465fe064a745738e6e5a391dfd155ccf08aba786
parent124b388dac17f59cd8f80b12821f9ddddfe2309c
xfs: add a xfs_btree_ptrs_equal helper

Source kernel commit: 8c1771c45dfa9dddd4569727c48204b66073d2c2

This only has a single caller and thus might be a bit questionable,
but I think it really improves the readability of
xfs_btree_visit_block.

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