xfs: mark the record passed into xchk_btree functions as 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)
commit22ece4e836beff1df528ee09cf21ca5fab7235f5
tree6d304d2c641cd31aa40735d01b5ccc1cebe445fa
parent8e38dc88a67b3c7475cbe8a132d03542717c1e27
xfs: mark the record passed into xchk_btree functions as const

xchk_btree calls a user-supplied function to validate each btree record
that it finds.  Those functions are not supposed to change the record
data, so mark the parameter const.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_bmap_btree.h
fs/xfs/scrub/alloc.c
fs/xfs/scrub/bmap.c
fs/xfs/scrub/btree.h
fs/xfs/scrub/ialloc.c
fs/xfs/scrub/refcount.c
fs/xfs/scrub/rmap.c