/* Cache the create session result into the create session single DRC slot cache by saving the xdr structure. sl_seqid has been set. Do this for solo or embedded create session operations.  */
static void nfsd4_cache_create_session(struct nfsd4_create_session *cr_ses, struct nfsd4_clid_slot *slot, int nfserr)
/* Cache the create session result into the create session single DRC slot cache by saving the xdr structure. sl_seqid has been set. Do this for solo or embedded create session operations.  */
static void nfsd4_cache_create_session(struct nfsd4_create_session *cr_ses, struct nfsd4_clid_slot *slot, int nfserr)
{
	slot->sl_status = nfserr;
	memcpy(&slot->sl_cr_ses, cr_ses, sizeof(*cr_ses));
}