From b14883f313fa50a20f2c300a4738320e28f4323b Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 13 May 2003 02:30:02 +0000 Subject: do reclaim LAYER vnodes, no good reason not to --- sys/kern/vfs_subr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 6d30d424d67..3e4d812f7da 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.91 2003/05/06 20:52:14 tedu Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.92 2003/05/13 02:30:01 tedu Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -415,8 +415,6 @@ getnewvnode(tag, mp, vops, vpp) for (vp = TAILQ_FIRST(listhd); vp != NULLVP; vp = TAILQ_NEXT(vp, v_freelist)) { if (simple_lock_try(&vp->v_interlock)) { - if ((vp->v_flag & VLAYER) == 0) - break; if (VOP_ISLOCKED(vp) == 0) break; else -- cgit v1.2.3