Don Lewis wrote: > > There are a few problems in the fifo_open() and fifo_close() > implementations. > > fifo_open() calls VOP_CLOSE() with the vnode locked, whereas > VOP_CLOSE() should be called with the vnode unlocked. This is actually pretty bogus. All VOP's, except those that return (locked) vnodes, or dispose (locked) vnodes that are managed by the FS itself, should have locked vnodes. There's a nasty race condition that occurs because of the VOP_CLOSE() being called without the vnode locked. -- TerryReceived on Fri May 16 2003 - 19:53:17 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:08 UTC