xfs: drop XFS_BTREE_CRC_BLOCKS
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:34:12 +0000 (12:34 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:34:12 +0000 (12:34 -0800)
commitf9e325bf61d1fb3ef5f705268a22de95809db9fa
tree09da36fbcd20d8ea69ad15af09a4857451d7d9db
parent056d22c87132cf4968f5e702116439bea9795930
xfs: drop XFS_BTREE_CRC_BLOCKS

All existing btree types set XFS_BTREE_CRC_BLOCKS when running against a
V5 filesystem.  All currently proposed btree types are V5 only and use
the richer XFS_BTREE_CRC_BLOCKS format.  Therefore, we can drop this
flag and change the conditional to xfs_has_crc.

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.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