Date: Mon, 9 Feb 2009 12:22:49 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/fifofs fifo_vnops.c Message-ID: <200902091222.n19CMwf3072749@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-02-09 12:22:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/fifofs fifo_vnops.c Log: SVN rev 188389 on 2009-02-09 12:22:49Z by kib MFC r187715: 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. Revision Changes Path 1.138.2.2 +4 -1 src/sys/fs/fifofs/fifo_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902091222.n19CMwf3072749>