freebsd-skq/sys/fs/fifofs
kib 3f74998bc8 The kernel may do unbalanced calls to fifo_close() for fifo vnode,
without corresponding number of fifo_open(). This causes assertion
failure in fifo_close() due to vp->v_fifoinfo being NULL for kernel
with INVARIANTS, or NULL pointer dereference otherwise. In fact, we may
ignore excess calls to fifo_close() without bad consequences.

Turn KASSERT() into the return, and print warning for now.

Tested by:	pho
Reviewed by:	rwatson
MFC after:	2 weeks
2009-01-26 14:21:00 +00:00
..
fifo_vnops.c The kernel may do unbalanced calls to fifo_close() for fifo vnode, 2009-01-26 14:21:00 +00:00
fifo.h