mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
In sys/fs/nullfs/null_subr.c, in a KASSERT, output the correct vnode
pointer 'lowervp' instead of 'vp', which is uninitialized at that point. Reviewed by: kib MFC after: 1 week
This commit is contained in:
parent
e0636bc0ca
commit
f39adedd5b
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ null_nodeget(mp, lowervp, vpp)
|
|||
int error;
|
||||
|
||||
ASSERT_VOP_LOCKED(lowervp, "lowervp");
|
||||
KASSERT(lowervp->v_usecount >= 1, ("Unreferenced vnode %p\n", vp));
|
||||
KASSERT(lowervp->v_usecount >= 1, ("Unreferenced vnode %p\n", lowervp));
|
||||
|
||||
/* Lookup the hash firstly */
|
||||
*vpp = null_hashget(mp, lowervp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue