summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2008-06-13 03:45:40 +0000
committerBob Beck <beck@cvs.openbsd.org>2008-06-13 03:45:40 +0000
commit5dfc7821dc5599a511bb3098f63576fd68cc1492 (patch)
tree48ecdd48ae2b784c91b0ba2327c2795303260ba2 /sys/kern
parent9029142f92476b57e9fb8c79548dd7ad3307d097 (diff)
back out stupid vnode change that was unintentionally included
with biomem and art has no idea how it got there. ok art@ thib@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index dabadded731..0e22ab4652d 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.170 2008/06/12 06:58:39 deraadt Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.171 2008/06/13 03:45:39 beck Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -120,7 +120,7 @@ void
vntblinit(void)
{
/* buffer cache may need a vnode for each buffer */
- maxvnodes = bufpages;
+ maxvnodes = desiredvnodes;
pool_init(&vnode_pool, sizeof(struct vnode), 0, 0, 0, "vnodes",
&pool_allocator_nointr);
TAILQ_INIT(&vnode_hold_list);