NFSD: Update WRITE3arg decoder to use struct xdr_stream
authorChuck Lever <chuck.lever@oracle.com>
Thu, 22 Oct 2020 15:14:55 +0000 (11:14 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 25 Jan 2021 14:36:24 +0000 (09:36 -0500)
commitc43b2f229a01969a7ccf94b033c5085e0ec2040c
treef2d154bc6a23dd355628690ca53c4741adfdb95c
parentbe63bd2ac6bbf8c065a0ef6dfbea76934326c352
NFSD: Update WRITE3arg decoder to use struct xdr_stream

As part of the update, open code that sanity-checks the size of the
data payload against the length of the RPC Call message has to be
re-implemented to use xdr_stream infrastructure.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs3xdr.c