From 11edcd2f01da9ce020b4ee80143b7c9f63af7de3 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Thu, 15 Nov 2001 06:40:40 +0000 Subject: 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. --- sys/kern/vfs_subr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys') 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; -- cgit v1.2.3