cvs commit: src/sys/kern vnode_if.src

Konstantin Belousov kib at
Tue Feb 26 12:16:35 UTC 2008

kib         2008-02-26 12:16:35 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vnode_if.src 
  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

More information about the cvs-src mailing list