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
@ -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 New Issue
Block a user