summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/nullfs/null.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-09-04 12:35:09 +0000
committerbde <bde@FreeBSD.org>1999-09-04 12:35:09 +0000
commitc8a2ac644d5eaa2224006a4d5efdeabd75b14aaa (patch)
tree5893916f5fe8e83cd5577b344519e09155e934e0 /sys/miscfs/nullfs/null.h
parent309a6171c650eb7e6b7161f8b4a38c5765cfd173 (diff)
downloadFreeBSD-src-c8a2ac644d5eaa2224006a4d5efdeabd75b14aaa.zip
FreeBSD-src-c8a2ac644d5eaa2224006a4d5efdeabd75b14aaa.tar.gz
Get rid of the NULLFS_DIAGNOSTIC option. This option was as useful as
the other XXXFS_DIAGNOSTIC options (not very) and mostly controlled tracing of normal operation. Use `#ifdef DEBUG' for non-diagnostics and `#ifdef DIAGNOSTIC' for diagnostics.
Diffstat (limited to 'sys/miscfs/nullfs/null.h')
-rw-r--r--sys/miscfs/nullfs/null.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/nullfs/null.h b/sys/miscfs/nullfs/null.h
index f796d18..fcd179e 100644
--- a/sys/miscfs/nullfs/null.h
+++ b/sys/miscfs/nullfs/null.h
@@ -63,7 +63,7 @@ extern int null_node_create __P((struct mount *mp, struct vnode *target, struct
#define MOUNTTONULLMOUNT(mp) ((struct null_mount *)((mp)->mnt_data))
#define VTONULL(vp) ((struct null_node *)(vp)->v_data)
#define NULLTOV(xp) ((xp)->null_vnode)
-#ifdef NULLFS_DIAGNOSTIC
+#ifdef DIAGNOSTIC
extern struct vnode *null_checkvp __P((struct vnode *vp, char *fil, int lno));
#define NULLVPTOLOWERVP(vp) null_checkvp((vp), __FILE__, __LINE__)
#else
OpenPOWER on IntegriCloud