summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-15 06:40:40 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-15 06:40:40 +0000
commit11edcd2f01da9ce020b4ee80143b7c9f63af7de3 (patch)
tree6eb4c46b9de1b738957ac2023f8c10690e2d310d /sys
parent691a2edf956c1ecc41435ffe38b869a3e2fd562b (diff)
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')
-rw-r--r--sys/kern/vfs_subr.c3
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;