NFSD: Clean up nfsd4_encode_exchange_id()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 9 Oct 2023 18:29:56 +0000 (14:29 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:36 +0000 (12:44 -0400)
commitabef972cf58255749ec0fbd6b581f533401c8473
tree171cf350d3d914b164d0d0aad31dd894c06b9423
parent91c7a9057cfb5a8fda2831e98a6d147817b71744
NFSD: Clean up nfsd4_encode_exchange_id()

Restructure nfsd4_encode_exchange_id() so that it will be more
straightforward to add support for SSV one day. Also, adopt the use
of the conventional XDR utility functions.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c