register int32_t t2; caddr_t bpos, dpos; int error = 0;
register int32_t t1, t2; caddr_t bpos, dpos, cp2; int error = 0, wccflag = NFSV3_WCCRATTR;
nfs_rmdir(v)	void *v;{	struct vop_rmdir_args /* {		struct vnode *a_dvp;		struct vnode *a_vp;		struct componentname *a_cnp;	} */ *ap = v;	register struct vnode *vp = ap->a_vp;	register struct vnode *dvp = ap->a_dvp;	register struct componentname *cnp = ap->a_cnp;	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;	if (dvp == vp) {		vrele(dvp);		vrele(dvp);		FREE(cnp->cn_pnbuf, M_NAMEI);		return (EINVAL);	}	nfsstats.rpccnt[NFSPROC_RMDIR]++;	nfsm_reqhead(dvp, NFSPROC_RMDIR,		NFSX_FH+NFSX_UNSIGNED+nfsm_rndup(cnp->cn_namelen));	nfsm_fhtom(dvp);	nfsm_strtom(cnp->cn_nameptr, cnp->cn_namelen, NFS_MAXNAMLEN);	nfsm_request(dvp, NFSPROC_RMDIR, cnp->cn_proc, cnp->cn_cred);	nfsm_reqdone;	FREE(cnp->cn_pnbuf, M_NAMEI);	VTONFS(dvp)->n_flag |= NMODIFIED;	VTONFS(dvp)->n_attrstamp = 0;	cache_purge(dvp);	cache_purge(vp);	vrele(vp);	vrele(dvp);	/*	 * Kludge: Map ENOENT => 0 assuming that you have a reply to a retry.	 */	if (error == ENOENT)		error = 0;	return (error);}