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:
Dimitry Andric 2012-01-05 17:06:04 +00:00
parent e0636bc0ca
commit f39adedd5b

View File

@ -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);