summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/umapfs/umap.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-09-04 11:51:41 +0000
committerbde <bde@FreeBSD.org>1999-09-04 11:51:41 +0000
commit2202da1ce8d513d1d7b31003522f156b4d639ee9 (patch)
tree696adb70d3006d1a3f42b0d4d1254b1f8590e984 /sys/miscfs/umapfs/umap.h
parent101cc573f4c54f4db2d4ef87fb0c2d73df6f7374 (diff)
downloadFreeBSD-src-2202da1ce8d513d1d7b31003522f156b4d639ee9.zip
FreeBSD-src-2202da1ce8d513d1d7b31003522f156b4d639ee9.tar.gz
Fixed the previous change. Some more code controlled by UMAPFS_DIAGNOSTIC
is actually for diagnostics; control it with DIAGNOSTIC and not DDB.
Diffstat (limited to 'sys/miscfs/umapfs/umap.h')
-rw-r--r--sys/miscfs/umapfs/umap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/umapfs/umap.h b/sys/miscfs/umapfs/umap.h
index 854fb8c..856aeb9 100644
--- a/sys/miscfs/umapfs/umap.h
+++ b/sys/miscfs/umapfs/umap.h
@@ -80,7 +80,7 @@ extern void umap_mapids __P((struct mount *v_mount, struct ucred *credp));
#define MOUNTTOUMAPMOUNT(mp) ((struct umap_mount *)((mp)->mnt_data))
#define VTOUMAP(vp) ((struct umap_node *)(vp)->v_data)
#define UMAPTOV(xp) ((xp)->umap_vnode)
-#ifdef DDB
+#ifdef DIAGNOSTIC
extern struct vnode *umap_checkvp __P((struct vnode *vp, char *fil, int lno));
#define UMAPVPTOLOWERVP(vp) umap_checkvp((vp), __FILE__, __LINE__)
#else
OpenPOWER on IntegriCloud