sys/fs/nfsclient/nfs_clport.c
/*
 * Comparison function for vfs_hash functions.
 */
Comparison function for vfs_hash functions.
Comparison function for vfs_hash functions .
int
newnfs_vncmpf(struct vnode *vp, void *arg)
{
	struct nfsfh *nfhp = (struct nfsfh *)arg;
	struct nfsnode *np = VTONFS(vp);
	if (np->n_fhp->nfh_len != nfhp->nfh_len ||
	    NFSBCMP(np->n_fhp->nfh_fh, nfhp->nfh_fh, nfhp->nfh_len))
		return (1);
	return (0);
}
int newnfs_vncmpf ( struct vnode * vp , void * arg ) { struct nfsfh * nfhp = ( struct nfsfh * ) arg ; struct nfsnode * np = VTONFS ( vp ) ; if ( np -> n_fhp -> nfh_len != nfhp -> nfh_len || NFSBCMP ( np -> n_fhp -> nfh_fh , nfhp -> nfh_fh , nfhp -> nfh_len ) ) return ( 1 ) ; return ( 0 ) ; }
Comparison function for vfs_hash functions.
Comparison function for vfs_hash functions .