SCCS-vsn: sys/kern/vfs_subr.c 7.67
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)vfs_subr.c 7.66 (Berkeley) %G%
+ * @(#)vfs_subr.c 7.67 (Berkeley) %G%
/*
* Vnode reference, just increment the count
*/
/*
* Vnode reference, just increment the count
*/
- if (vp->v_type!=VBLK && curproc) { /* NEEDSWORK: debugging */
- curproc->p_spare[2]++;
- };
- if (bug_refs) {
- vprint ("vref: ");
- };
panic("vrele: null vp");
#endif
vp->v_usecount--;
panic("vrele: null vp");
#endif
vp->v_usecount--;
- if (vp->v_type!=VBLK && curproc) { /* NEEDSWORK: debugging */
- curproc->p_spare[2]--;
- };
- if (bug_refs) {
- vprint ("vref: ");
- };
if (vp->v_usecount > 0)
return;
#ifdef DIAGNOSTIC
if (vp->v_usecount > 0)
return;
#ifdef DIAGNOSTIC
*vp->v_mountb = vq;
vp->v_mountf = NULL;
vp->v_mountb = NULL;
*vp->v_mountb = vq;
vp->v_mountf = NULL;
vp->v_mountb = NULL;
}
/*
* If special device, remove it from special device alias list.
}
/*
* If special device, remove it from special device alias list.