diff options
author | kato <kato@FreeBSD.org> | 1997-08-27 08:44:43 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-08-27 08:44:43 +0000 |
commit | 9038ada3779564007a91a02d108f44549c39de56 (patch) | |
tree | 8070083e24e55ab9d04bd75869c60fd9dcd3b9d2 /sys/miscfs | |
parent | 50d8ef12839426814b2e662bdbd06b884c745174 (diff) | |
download | FreeBSD-src-9038ada3779564007a91a02d108f44549c39de56.zip FreeBSD-src-9038ada3779564007a91a02d108f44549c39de56.tar.gz |
Fixed NULLFS_DIAGNOSTIC stuff.
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/nullfs/null_subr.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/miscfs/nullfs/null_subr.c b/sys/miscfs/nullfs/null_subr.c index 0cb47a5..64474f3 100644 --- a/sys/miscfs/nullfs/null_subr.c +++ b/sys/miscfs/nullfs/null_subr.c @@ -35,9 +35,11 @@ * * @(#)null_subr.c 8.7 (Berkeley) 5/14/95 * - * $Id: null_subr.c,v 1.10 1997/04/17 11:17:28 kato Exp $ + * $Id: null_subr.c,v 1.11 1997/08/02 14:32:04 bde Exp $ */ +#include "opt_ddb.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/proc.h> @@ -197,7 +199,7 @@ null_node_create(mp, lowervp, newvpp) * to the alias vnode. */ #ifdef NULLFS_DIAGNOSTIC - vprint("null_node_create: exists", NULLTOV(ap)); + vprint("null_node_create: exists", aliasvp); #endif /* VREF(aliasvp); --- done in null_node_find */ } else { @@ -241,7 +243,14 @@ null_node_create(mp, lowervp, newvpp) *newvpp = aliasvp; return (0); } + #ifdef NULLFS_DIAGNOSTIC +#ifdef DDB +#define null_checkvp_barrier 1 +#else +#define null_checkvp_barrier 0 +#endif + struct vnode * null_checkvp(vp, fil, lno) struct vnode *vp; |