Subject: CVS commit: [netbsd-1-5] src/sys/miscfs/fifofs
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 04/08/2004 02:51:45
Module Name: src
Committed By: jmc
Date: Thu Apr 8 02:51:45 UTC 2004
Modified Files:
src/sys/miscfs/fifofs [netbsd-1-5]: fifo_vnops.c
Log Message:
Pullup patch (requested by wrstuden in ticket #125)
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
o the vnode, this is our last chance.
Fixes memory leak in revoke(2) path.
To generate a diff of this commit:
cvs rdiff -r1.28 -r1.28.4.1 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.