diff options
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nullfs/null_subr.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/fs/nullfs/null_subr.c b/sys/fs/nullfs/null_subr.c index 0cb47a5..64474f3 100644 --- a/sys/fs/nullfs/null_subr.c +++ b/sys/fs/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; |