diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-05-13 02:30:02 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-05-13 02:30:02 +0000 |
commit | b14883f313fa50a20f2c300a4738320e28f4323b (patch) | |
tree | fe9fbb7d7de471cf2529649b13176faf78edbc14 | |
parent | 0bc558766296a9f3ec671e202e9481fb9578fc3f (diff) |
do reclaim LAYER vnodes, no good reason not to
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 1 insertions, 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 |