xfs: don't shadow @leaf in xchk_xattr_block
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:29 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:29 +0000 (19:00 -0700)
commitee366fe4f519f0739a2c62cf998f58932e77c6a9
treee372ba887947c264ead691d6983d459078b7988d
parentc12ad41468a5f4112b98566dcb1ee9096579106a
xfs: don't shadow @leaf in xchk_xattr_block

Don't shadow the leaf variable here, because it's misleading to have one
place in the codebase where two variables with different types have the
same name.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/attr.c