summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_export.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1997-06-10 02:48:08 +0000
committerdg <dg@FreeBSD.org>1997-06-10 02:48:08 +0000
commita1414ec53a0436e47ef42faa5a26f071a5e54667 (patch)
treeffbda1ee13b44f085f924ffdd94f4ac36e676160 /sys/kern/vfs_export.c
parentec4e5a890f8970d2336a6961167ce0d2cd851bba (diff)
downloadFreeBSD-src-a1414ec53a0436e47ef42faa5a26f071a5e54667.zip
FreeBSD-src-a1414ec53a0436e47ef42faa5a26f071a5e54667.tar.gz
Disabled the kern.vnode sysctl variable. It's causing system crashes on
large systems and needs to be re-thinked or removed wholesale.
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r--sys/kern/vfs_export.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 353c867..dfa2017 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
- * $Id: vfs_subr.c,v 1.85 1997/05/04 09:17:29 phk Exp $
+ * $Id: vfs_subr.c,v 1.86 1997/05/06 15:19:38 phk Exp $
*/
/*
@@ -1846,8 +1846,15 @@ again:
return (0);
}
+/*
+ * XXX
+ * Exporting the vnode list on large systems causes them to crash.
+ * Exporting the vnode list on medium systems causes sysctl to coredump.
+ */
+#if 0
SYSCTL_PROC(_kern, KERN_VNODE, vnode, CTLTYPE_OPAQUE|CTLFLAG_RD,
0, 0, sysctl_vnode, "S,vnode", "");
+#endif
/*
* Check to see if a filesystem is mounted on a block device.
OpenPOWER on IntegriCloud