]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: remove the crc variable in __xfs_btree_check_lblock
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Apr 2024 17:01:07 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:39 +0000 (11:37 -0700)
commit244803ebeef20d8b004e34cab0ee84cfe7d3b7c8
tree9a25e79a11e7192355f0446aab99704a810c47f0
parent978f7fd64ef251989561aa5820e6b8a6aa71813e
xfs: remove the crc variable in __xfs_btree_check_lblock

Source kernel commit: bd45019d9aa942d1c2457d96a7dbf2ad3051754b

crc is only used once, just use the xfs_has_crc check directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_btree.c