mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Include "opt_ddb.h" only when NULLFS_DIAGNOSTIC is defined.
This commit is contained in:
parent
ce28475da5
commit
1bf978ce42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28844
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user