svn commit: r229230 - stable/9/sys/fs/nullfs
Konstantin Belousov
kib at FreeBSD.org
Sun Jan 1 23:12:44 UTC 2012
Author: kib
Date: Sun Jan 1 23:12:43 2012
New Revision: 229230
URL: http://svn.freebsd.org/changeset/base/229230
Log:
MFC r227696:
Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled
in, and show vnode is used from ddb on the faulty nullfs vnode, we get
panic instead of vnode dump.
Modified:
stable/9/sys/fs/nullfs/null_vnops.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/fs/nullfs/null_vnops.c
==============================================================================
--- stable/9/sys/fs/nullfs/null_vnops.c Sun Jan 1 23:09:57 2012 (r229229)
+++ stable/9/sys/fs/nullfs/null_vnops.c Sun Jan 1 23:12:43 2012 (r229230)
@@ -729,7 +729,7 @@ null_print(struct vop_print_args *ap)
{
struct vnode *vp = ap->a_vp;
- printf("\tvp=%p, lowervp=%p\n", vp, NULLVPTOLOWERVP(vp));
+ printf("\tvp=%p, lowervp=%p\n", vp, VTONULL(vp)->null_lowervp);
return (0);
}
More information about the svn-src-stable-9
mailing list