Subject: CVS commit: syssrc/sys/miscfs/fifofs
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 07/27/2002 19:43:37
Module Name:	syssrc
Committed By:	chs
Date:		Sat Jul 27 16:43:36 UTC 2002

Modified Files:
	syssrc/sys/miscfs/fifofs: fifo_vnops.c

Log Message:
we can't use the vnode's v_usecount to track how many times the vnode
has been VOP_OPEN()'d.  if the fifo is being accessed via a layered fs,
v_usecount is always one (representing the hold by the layered vnode)
regardless of how many times the vnode has been opened.  instead, keep a
separate counter for opens.  fixes PR 17195 and probably 17724.


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 syssrc/sys/miscfs/fifofs/fifo_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.