NFSD: Clean up nfsd4_encode_getdeviceinfo()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 25 Sep 2023 13:28:23 +0000 (09:28 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:29 +0000 (12:44 -0400)
commit4bbe42e8724bc5a65f6129a4e49fa4b11f617226
tree7f86b4bc64514c7acf2fce9d87c8d2d3c4896060
parent82e93bab50625deef545bc5291fd2749e9aabcd6
NFSD: Clean up nfsd4_encode_getdeviceinfo()

Adopt the conventional XDR utility functions. Also, restructure to
make the function align more closely with the spec -- there doesn't
seem to be a performance need for speciality code, so prioritize
readability.

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