NFSD: Clean up nfsd4_encode_layoutcommit()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 25 Sep 2023 13:28:04 +0000 (09:28 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:29 +0000 (12:44 -0400)
commitcc313f80d0591aa5076761ce1854e3ef144084ec
tree11ebe22d55173cc2360ae8fd599a45021fd25f44
parent69f5f0194a7f0f6bb22676a75dc81357a6d22698
NFSD: Clean up nfsd4_encode_layoutcommit()

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/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h