/* The "priv" argument may contain private information required by the NSMPROC_MON call. This information will be supplied in the NLMPROC_SM_NOTIFY call.  */
static int encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp)
/* The "priv" argument may contain private information required by the NSMPROC_MON call. This information will be supplied in the NLMPROC_SM_NOTIFY call.  */
static int encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp)
{
	__be32 *p;
	p = xdr_reserve_space(xdr, SM_PRIV_SIZE);
	if (unlikely(p == NULL))
		return -EIO;
	xdr_encode_opaque_fixed(p, argp->priv->data, SM_PRIV_SIZE);
	return 0;
}