NFSD: Add an nfsd4_encode_nfstime4() helper
authorChuck Lever <chuck.lever@oracle.com>
Mon, 12 Jun 2023 14:13:39 +0000 (10:13 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 17 Jun 2023 17:18:06 +0000 (13:18 -0400)
commit262176798b18b12fd8ab84c94cfece0a6a652476
tree7d611f664970dee493416178a53d1c623fb71103
parentf8335a212ac1495da3e9d98ff46c4bcd6a359011
NFSD: Add an nfsd4_encode_nfstime4() helper

Clean up: de-duplicate some common code.

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