diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-11-05 19:19:42 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-11-30 22:46:35 +0300 |
commit | 5191955d6fc65e6d4efe8f4f10a6028298f57281 (patch) | |
tree | 17fbefa6d5e0c9b1a813fd5caafe00915e31ae4a /fs/nfsd/nfs3proc.c | |
parent | 0ae4c3e8a64ace1b8d7de033b0751afe43024416 (diff) | |
download | linux-5191955d6fc65e6d4efe8f4f10a6028298f57281.tar.xz |
SUNRPC: Prepare for xdr_stream-style decoding on the server-side
A "permanent" struct xdr_stream is allocated in struct svc_rqst so
that it is usable by all server-side decoders. A per-rqst scratch
buffer is also allocated to handle decoding XDR data items that
cross page boundaries.
To demonstrate how it will be used, add the first call site for the
new svcxdr_init_decode() API.
As an additional part of the overall conversion, add symbolic
constants for successful and failed XDR operations. Returning "0" is
overloaded. Sometimes it means something failed, but sometimes it
means success. To make it more clear when XDR decoding functions
succeed or fail, introduce symbolic constants.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
0 files changed, 0 insertions, 0 deletions