diff options
author | phk <phk@FreeBSD.org> | 1997-10-11 07:34:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-11 07:34:27 +0000 |
commit | dde8490d33102562cd12821eeeb8b7631c6570b1 (patch) | |
tree | a098a15449af2370096a416ce88fcdf63c8903cd /sys/kern | |
parent | 045b39ade89b4ce5c8bdff28c73fdbd06754a1b3 (diff) | |
download | FreeBSD-src-dde8490d33102562cd12821eeeb8b7631c6570b1.zip FreeBSD-src-dde8490d33102562cd12821eeeb8b7631c6570b1.tar.gz |
Dike out a weird warning.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_export.c | 4 | ||||
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index b217747..2306ad0 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.106 1997/09/25 16:17:57 phk Exp $ + * $Id: vfs_subr.c,v 1.107 1997/09/26 08:08:58 phk Exp $ */ /* @@ -1365,10 +1365,12 @@ vclean(vp, flags, p) vrele(vp); cache_purge(vp); if (vp->v_vnlock) { +#if 0 /* This is the only place we have LK_DRAINED in the entire kernel ??? */ #ifdef DIAGNOSTIC if ((vp->v_vnlock->lk_flags & LK_DRAINED) == 0) vprint("vclean: lock not drained", vp); #endif +#endif FREE(vp->v_vnlock, M_VNODE); vp->v_vnlock = NULL; } diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index b217747..2306ad0 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.106 1997/09/25 16:17:57 phk Exp $ + * $Id: vfs_subr.c,v 1.107 1997/09/26 08:08:58 phk Exp $ */ /* @@ -1365,10 +1365,12 @@ vclean(vp, flags, p) vrele(vp); cache_purge(vp); if (vp->v_vnlock) { +#if 0 /* This is the only place we have LK_DRAINED in the entire kernel ??? */ #ifdef DIAGNOSTIC if ((vp->v_vnlock->lk_flags & LK_DRAINED) == 0) vprint("vclean: lock not drained", vp); #endif +#endif FREE(vp->v_vnlock, M_VNODE); vp->v_vnlock = NULL; } |