Include "opt_ddb.h" only when NULLFS_DIAGNOSTIC is defined.

This commit is contained in:
KATO Takenori 1997-08-28 00:44:43 +00:00
parent ce28475da5
commit 1bf978ce42
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28844
2 changed files with 6 additions and 6 deletions

View File

@ -35,11 +35,9 @@
*
* @(#)null_subr.c 8.7 (Berkeley) 5/14/95
*
* $Id: null_subr.c,v 1.11 1997/08/02 14:32:04 bde Exp $
* $Id: null_subr.c,v 1.12 1997/08/27 08:44:43 kato Exp $
*/
#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
@ -245,6 +243,8 @@ null_node_create(mp, lowervp, newvpp)
}
#ifdef NULLFS_DIAGNOSTIC
#include "opt_ddb.h"
#ifdef DDB
#define null_checkvp_barrier 1
#else

View File

@ -35,11 +35,9 @@
*
* @(#)null_subr.c 8.7 (Berkeley) 5/14/95
*
* $Id: null_subr.c,v 1.11 1997/08/02 14:32:04 bde Exp $
* $Id: null_subr.c,v 1.12 1997/08/27 08:44:43 kato Exp $
*/
#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
@ -245,6 +243,8 @@ null_node_create(mp, lowervp, newvpp)
}
#ifdef NULLFS_DIAGNOSTIC
#include "opt_ddb.h"
#ifdef DDB
#define null_checkvp_barrier 1
#else