FreeBSD/sys/fs/nfsclient/nfs_clvnops.c
/*
 * nfs file remove rpc called from nfs_inactive
 */
nfs file remove rpc called from nfs_inactive
nfs file remove rpc called from nfs_inactive
int
ncl_removeit(struct sillyrename *sp, struct vnode *vp)
{
	if (sp->s_dvp->v_type == VBAD)
		return (0);
	return (nfs_removerpc(sp->s_dvp, vp, sp->s_name, sp->s_namlen,
	    sp->s_cred, NULL));
}
int ncl_removeit ( struct sillyrename * sp , struct vnode * vp ) { if ( sp -> s_dvp -> v_type == VBAD ) return ( 0 ) ; return ( nfs_removerpc ( sp -> s_dvp , vp , sp -> s_name , sp -> s_namlen , sp -> s_cred , NULL ) ) ; }
nfs file remove rpc called from nfs_inactive
nfs file remove rpc called from nfs_inactive
/*
	 * Make sure that the directory vnode is still valid.
	 * XXX we should lock sp->s_dvp here.
	 */