]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2024 12:52:34 +0000 (14:52 +0200)
commitbbb0a710a2c7a0b171e7a0d6fbdd6d5a2acd003b
tree5f522a7eb2036046fbfbbb35d9bddd8ce6723467
parent2994c8888472ac1fe1ce17895786eb76f2483d9b
NFSD: Replace the internals of the READ_BUF() macro

[ Upstream commit c1346a1216ab5cb04a265380ac9035d91b16b6d5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c