vop_stdopen() must be called when a fifo_open fails in order to then be
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 14 Apr 2006 01:07:38 +0000 (01:07 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 14 Apr 2006 01:07:38 +0000 (01:07 +0000)
commitcbeb1f72ec153d2ac1b19d98389eca27cb2e371e
tree8397b0c7cd50d6690610a1289e91d71e725efece
parent6f266dc1a0971c638882694caf12b01f78e5d7dc
vop_stdopen() must be called when a fifo_open fails in order to then be
able to call VOP_CLOSE().  Otherwise the opencount or writecount gets out
of synch and causes a panic.

Reported-by: "David Rhodus" <drhodus@machdep.com>
sys/vfs/fifofs/fifo_vnops.c