Date: Tue, 26 Feb 2008 12:16:35 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vnode_if.src Message-ID: <200802261216.m1QCGZHD029991@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-02-26 12:16:35 UTC
FreeBSD src repository
Modified files:
sys/kern vnode_if.src
Log:
Do not assert any locks for VOP_PRINT. In particular, do not assert that
the vnode interlock is not held. vn_printf() already correctly handles
locked and unlocked vnode interlocks, and all the in-tree vop_print
methods are interlock-agnostic.
Some code calls vprintf() with the vnode interlock held, that causes
unjustified panics with INVARIANTS (ffs_syncvnode() as example).
Reported by: Peter Holm
Revision Changes Path
1.90 +1 -1 src/sys/kern/vnode_if.src
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802261216.m1QCGZHD029991>
