NFSD: Replace the internals of the READ_BUF() macro
authorChuck Lever <chuck.lever@oracle.com>
Tue, 3 Nov 2020 16:54:23 +0000 (11:54 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 19:46:36 +0000 (14:46 -0500)
commitc1346a1216ab5cb04a265380ac9035d91b16b6d5
treefeb036b9a90fe5770f136e83b356df03e0f78ec5
parent08281341be8ebc97ee47999812bcf411942baa1e
NFSD: Replace the internals of the READ_BUF() macro

Convert the READ_BUF macro in nfs4xdr.c from open code to instead
use the new xdr_stream-style decoders already in use by the encode
side (and by the in-kernel NFS client implementation). Once this
conversion is done, each individual NFSv4 argument decoder can be
independently cleaned up to replace these macros with C code.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c