NFSD: Add a utility function for encoding sessionid4 objects
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 Oct 2023 14:51:17 +0000 (10:51 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:32 +0000 (12:44 -0400)
commit65baa60953192a587f2495a98fde9c5e1802a225
tree80d301cdc3e0beadc7e5799473504a6e73e5227d
parent841735b3fdfe518f21c80ca3ae48a1edfc957525
NFSD: Add a utility function for encoding sessionid4 objects

There is more than one NFSv4 operation that needs to encode a
sessionid4, so extract that data type into a separate helper.

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