diff options
author | David Greenman <dg@FreeBSD.org> | 1996-01-02 18:13:20 +0000 |
---|---|---|
committer | David Greenman <dg@FreeBSD.org> | 1996-01-02 18:13:20 +0000 |
commit | 864ef7d17e0b7bc023686bd7f9621dd113e30e2a (patch) | |
tree | a68c1d6d6c80e5469a708fb50c070bccee0481f1 /sys/kern/vfs_subr.c | |
parent | 644104e65fc218684ccfe13fc4cebee24ea4c018 (diff) | |
download | src-864ef7d17e0b7bc023686bd7f9621dd113e30e2a.tar.gz src-864ef7d17e0b7bc023686bd7f9621dd113e30e2a.zip |
Notes
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index ae38c24149b7..19a7dc2558ab 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94 - * $Id: vfs_subr.c,v 1.48 1995/12/11 04:56:09 dyson Exp $ + * $Id: vfs_subr.c,v 1.49 1995/12/17 21:23:19 phk Exp $ */ /* @@ -835,12 +835,12 @@ vrele(vp) vp->v_usecount--; if (vp->v_usecount > 0) return; -#ifdef DIAGNOSTIC if (vp->v_usecount < 0 /* || vp->v_writecount < 0 */ ) { +#ifdef DIAGNOSTIC vprint("vrele: negative ref count", vp); +#endif panic("vrele: negative reference cnt"); } -#endif if (vp->v_flag & VAGE) { TAILQ_INSERT_HEAD(&vnode_free_list, vp, v_freelist); vp->v_flag &= ~VAGE; |