xfs: always set args->value in xfs_attri_item_recover
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:47:31 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:54 +0000 (07:46 -0700)
commit0aeeeb796980f74bf87ef175335ee1a9a1229767
tree26b0ffc859eebe350ed67dc0c6d180b426d2e764
parent1c7f09d210aba2f2bb206e2e8c97c9f11a3fd880
xfs: always set args->value in xfs_attri_item_recover

Always set args->value to the recovered value buffer.  This reduces the
amount of code in the switch statement, and hence the amount of thinking
that I have to do.  We validated the recovered buffers, supposedly.

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