FreeBSD/sys/fs/nfsclient/nfs_clstate.c
/*
 * Release the clientid structure. It may be locked or reference counted.
 */
Release the clientid structure. It may be locked or reference counted.
Release the clientid structure . It may be locked or reference counted .
static void
nfscl_clrelease(struct nfsclclient *clp)
{
	if (clp->nfsc_lock.nfslock_lock & NFSV4LOCK_LOCK)
		nfsv4_unlock(&clp->nfsc_lock, 0);
	else
		nfsv4_relref(&clp->nfsc_lock);
}
static void nfscl_clrelease ( struct nfsclclient * clp ) { if ( clp -> nfsc_lock . nfslock_lock & NFSV4LOCK_LOCK ) nfsv4_unlock ( & clp -> nfsc_lock , 0 ) ; else nfsv4_relref ( & clp -> nfsc_lock ) ; }
Release the clientid structure.
Release the clientid structure .