xfs: use local variables for name and value length in _attri_commit_pass2
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:47:32 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:54 +0000 (07:46 -0700)
commitc07f018bc094c5f30cb827ec9f11a23ace3435ec
treeabf43877954712a9f321562a5bafcb3f64ad104a
parent0aeeeb796980f74bf87ef175335ee1a9a1229767
xfs: use local variables for name and value length in _attri_commit_pass2

We're about to start using tagged unions in the xattr log format, so
create a bunch of local variables in the recovery function so we only
have to decode the log item fields once.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_attr_item.c