]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: drop XFS_BTREE_CRC_BLOCKS
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:00:57 +0000 (10:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:37 +0000 (11:37 -0700)
commit68e6ed00eb2cc3f91f643c92e6f0bca8477078b5
tree0db3b9bfb83928270ce565aba882907088675654
parentc75cc5dc50ffa50f7697afc538a42ae978ce25c4
xfs: drop XFS_BTREE_CRC_BLOCKS

Source kernel commit: f9e325bf61d1fb3ef5f705268a22de95809db9fa

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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_alloc_btree.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_btree.c
libxfs/xfs_btree.h
libxfs/xfs_ialloc_btree.c
libxfs/xfs_refcount_btree.c
libxfs/xfs_rmap_btree.c