NFSD: Clean up nfsd4_encode_layoutreturn()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 25 Sep 2023 13:28:10 +0000 (09:28 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:29 +0000 (12:44 -0400)
commit85dbc978b33be6f5e2e06e34b5219d730d5f9aa4
tree7142bc7a7c5ddf061a8aa95a347dbadc5e04dbe3
parentcc313f80d0591aa5076761ce1854e3ef144084ec
NFSD: Clean up nfsd4_encode_layoutreturn()

Adopt the use of conventional XDR utility functions. Restructure
the encoder to better align with the XDR definition of the result.

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