]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: misc cleanups for __xfs_btree_check_sblock
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)
commit978f7fd64ef251989561aa5820e6b8a6aa71813e
tree080c06163299d2422a02ddd933394043daeada4f
parent2e671ebedee633406329e0e742d655805fcb8f36
xfs: misc cleanups for __xfs_btree_check_sblock

Source kernel commit: 43be09192ce1f3cf9c3d2073e822a1d0a42fe5b2

Remove the local crc variable that is only used once and remove the bp
NULL checking as it can't ever be NULL for short form blocks.

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