xfs: mark the record passed into btree init_key functions as const
authorDarrick J. Wong <djwong@kernel.org>
Wed, 11 Aug 2021 00:02:16 +0000 (17:02 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 01:46:01 +0000 (18:46 -0700)
commit23825cd148764ce133ee92375da395140d6ccb15
treed73f953ad61604ee739a6725346b9cb21a7e1a88
parent159eb69dba8baf6d5b58b69936920fb311324c82
xfs: mark the record passed into btree init_key functions as const

These functions initialize a key from a record, but they aren't supposed
to modify the record.  Mark it 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_bmap_btree.h
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