freebsd-dev/sys/fs/fifofs
Don Lewis 95c6cd2f4b Use "fip->fi_readers == 0 && fip->fi_writers == 0" as the condition for
disposing fifo resources in fifo_cleanup() instead using of
"vp->v_usecount == 1".  There may be other references to the vnode, for
instance by nullfs, at the time fifo_open() or fifo_close() is called,
which could cause a resource leak.

Don't bother grabbing the vnode interlock in fifo_cleanup() since it no
longer accesses v_usecount.
2003-11-16 01:11:11 +00:00
..
fifo_vnops.c Use "fip->fi_readers == 0 && fip->fi_writers == 0" as the condition for 2003-11-16 01:11:11 +00:00
fifo.h