diff options
author | 2001-11-15 06:40:39 +0000 | |
---|---|---|
committer | 2001-11-15 06:40:39 +0000 | |
commit | 2ac98a093356e43ed7296d53f14f1f4db62f01ff (patch) | |
tree | 6c2fbcfec4b07a54b3d8dad0c612cabdb8373b52 /sys/kern/vfs_subr.c | |
parent | Make sure that stuff on the syncer worklist has VBIOONSYNCLIST set (diff) | |
download | wireguard-openbsd-2ac98a093356e43ed7296d53f14f1f4db62f01ff.tar.xz wireguard-openbsd-2ac98a093356e43ed7296d53f14f1f4db62f01ff.zip |
Don't zero v_bioflag when recycling a vnode in getnewvnode.
Sometimes the vnode can be on the syncers list. While that is a bug, it's
just a minor annoyance. A vnode on a syncer worklist without VBIOONSYNCLIST
set is a disaster.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 025ac29141f..9d3216d622b 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.70 2001/11/12 23:05:52 art Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.71 2001/11/15 06:40:39 art Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -447,7 +447,6 @@ getnewvnode(tag, mp, vops, vpp) splx(s); #endif vp->v_flag = 0; - vp->v_bioflag = 0; vp->v_socket = 0; } vp->v_type = VNON; |