nfsstats.rpccnt[NFSPROC_REMOVE]++; nfsm_reqhead(sp->s_dvp, NFSPROC_REMOVE, NFSX_FH+NFSX_UNSIGNED+nfsm_rndup(sp->s_namlen)); nfsm_fhtom(sp->s_dvp); nfsm_strtom(sp->s_name, sp->s_namlen, NFS_MAXNAMLEN); nfsm_request(sp->s_dvp, NFSPROC_REMOVE, NULL, sp->s_cred); nfsm_reqdone; VTONFS(sp->s_dvp)->n_flag |= NMODIFIED; VTONFS(sp->s_dvp)->n_attrstamp = 0; return (error);
return (nfs_removerpc(sp->s_dvp, sp->s_name, sp->s_namlen, sp->s_cred, (struct proc *)0));
nfs_removeit(sp)	register struct sillyrename *sp;{	register u_int32_t *tl;	register caddr_t cp;	register int32_t t2;	caddr_t bpos, dpos;	int error = 0;	struct mbuf *mreq, *mrep, *md, *mb, *mb2;	nfsstats.rpccnt[NFSPROC_REMOVE]++;	nfsm_reqhead(sp->s_dvp, NFSPROC_REMOVE,		NFSX_FH+NFSX_UNSIGNED+nfsm_rndup(sp->s_namlen));	nfsm_fhtom(sp->s_dvp);	nfsm_strtom(sp->s_name, sp->s_namlen, NFS_MAXNAMLEN);	nfsm_request(sp->s_dvp, NFSPROC_REMOVE, NULL, sp->s_cred);	nfsm_reqdone;	VTONFS(sp->s_dvp)->n_flag |= NMODIFIED;	VTONFS(sp->s_dvp)->n_attrstamp = 0;	return (error);}