mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
95c6cd2f4b
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. |
||
---|---|---|
.. | ||
fifo_vnops.c | ||
fifo.h |