null_checkvp function shouldn't be called from null_lock and null_unlock (through NULLVPTOLOWERVP(vp) macro) null_lock and null_unlock code expects that some of "usual" assumptions on vnodes do not hold, e.g. during node creation and reclaim lower vnode can be null, etc. example panic backtraces: http://lists.freebsd.org/pipermail/freebsd-fs/2009-November/007176.html Fix: disable vnode checks in null_lock and null_unlock Patch attached with submission follows: How-To-Repeat: recompile kernel with options INVARIANT_SUPPORT options INVARIANTS options DIAGNOSTIC
Responsible Changed From-To: freebsd-bugs->freebsd-fs Over to maintainer(s).
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
The code in question hasn't changed in the 15 years since this was submitted, so I believe the panic reported on freebsd-fs was due to a real bug.