Subject: CVS commit: [netbsd-1-6] syssrc/sys/miscfs/fifofs
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 07/29/2002 17:56:44
Module Name:	syssrc
Committed By:	lukem
Date:		Mon Jul 29 14:56:44 UTC 2002

Modified Files:
	syssrc/sys/miscfs/fifofs [netbsd-1-6]: fifo_vnops.c

Log Message:
Pull up revision 1.34 (requested by chuq in ticket #566):
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.33.10.1 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.