Subject: CVS commit: src/sys/miscfs/fifofs
To: None <source-changes@NetBSD.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 03/06/2004 00:38:29
Module Name:	src
Committed By:	wrstuden
Date:		Sat Mar  6 00:38:29 UTC 2004

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

Log Message:
Handle the case of fifo_close() getting called from vclean(). In that
case, we tear down the node-specific storage as if there were no more open
users. As vclean() will VT_NON the vnode before anyone else will get access
to the vnode, this is our last chance.

Fixes memory leak in revoke(2) path noticed by tedu at openbsd dot org.


To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 src/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.