mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
1fb18eea38
commit
e30cf87ba1
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ vop_getwritemount {
|
|||
};
|
||||
|
||||
|
||||
%% print vp = = =
|
||||
%% print vp - - -
|
||||
|
||||
vop_print {
|
||||
IN struct vnode *vp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue