xfs: make the keys and records passed to btree inorder functions const
authorDarrick J. Wong <djwong@kernel.org>
Wed, 11 Aug 2021 00:02:17 +0000 (17:02 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 01:46:01 +0000 (18:46 -0700)
commit8e38dc88a67b3c7475cbe8a132d03542717c1e27
treef8b0c9dbc5a8c8105c9608852f179444581d9c11
parent23825cd148764ce133ee92375da395140d6ccb15
xfs: make the keys and records passed to btree inorder functions const

The inorder functions are simple predicates, which means that they don't
modify the parameters.  Mark them all const.

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