summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 18:02:08 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 18:02:08 +0000
commit8f96e27e049a1090b1c13e788bd487a52e6c6867 (patch)
tree2e0aa6d07a78b12efe1259eb81cf646377bddd30 /sys/fs
parent1e8561a8e3e93cb5e99ec1b6531703316e8b2dd9 (diff)
downloadFreeBSD-src-8f96e27e049a1090b1c13e788bd487a52e6c6867.zip
FreeBSD-src-8f96e27e049a1090b1c13e788bd487a52e6c6867.tar.gz
MFC r283495:
Hide vfs.pfs.trace variable if it is not used.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/pseudofs/pseudofs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/pseudofs/pseudofs.c b/sys/fs/pseudofs/pseudofs.c
index d7894af..1824d0b 100644
--- a/sys/fs/pseudofs/pseudofs.c
+++ b/sys/fs/pseudofs/pseudofs.c
@@ -52,9 +52,11 @@ static MALLOC_DEFINE(M_PFSNODES, "pfs_nodes", "pseudofs nodes");
SYSCTL_NODE(_vfs, OID_AUTO, pfs, CTLFLAG_RW, 0,
"pseudofs");
+#ifdef PSEUDOFS_TRACE
int pfs_trace;
SYSCTL_INT(_vfs_pfs, OID_AUTO, trace, CTLFLAG_RW, &pfs_trace, 0,
"enable tracing of pseudofs vnode operations");
+#endif
#if PFS_FSNAMELEN != MFSNAMELEN
#error "PFS_FSNAMELEN is not equal to MFSNAMELEN"
OpenPOWER on IntegriCloud