SCCS-vsn: sys/kern/vfs_subr.c 7.67.1.1
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)vfs_subr.c 7.67 (Berkeley) %G%
+ * @(#)vfs_subr.c 7.67.1.1 (Berkeley) %G%
/*
* Vnode reference, just increment the count
*/
/*
* Vnode reference, just increment the count
*/
+ if (vp->v_type != VBLK && curproc)
+ curproc->p_spare[0]++;
+ 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)
+ curproc->p_spare[0]--;
+ if (bug_refs)
+ vprint("vref: ");
if (vp->v_usecount > 0)
return;
#ifdef DIAGNOSTIC
if (vp->v_usecount > 0)
return;
#ifdef DIAGNOSTIC