NFSv4.2: Fix up READ_PLUS alignment
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 30 Nov 2022 18:15:26 +0000 (13:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:48 +0000 (09:42 +0200)
commitfccdafa51de000f81833cbaa7aba7e592a9130d1
tree35b6cafd8b82b7270f907909499425623150fda5
parent5c47974263e8d3a6bbee987148bfba07f5cf803d
NFSv4.2: Fix up READ_PLUS alignment

[ Upstream commit f8527028a7e52da884055c401abc04e0b0c84285 ]

Assume that the first segment will be a DATA segment, and place the data
directly into the xdr pages so it doesn't need to be shifted.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Stable-dep-of: 8d18f6c5bb86 ("NFSv4.2: Fix READ_PLUS size calculations")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs42xdr.c