summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-03-16 15:51:05 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-03-16 15:51:05 +0000
commited2674f978905b13e50977109173e5dcb225e742 (patch)
tree2afc5a3db51abc66966d3e428e1b3ae19dacfabe /sys/kern/vfs_subr.c
parentcc3751f89ed4f61b0f7c34ba816585b18e66c5e6 (diff)
Initialize the mountlist_slock.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index ba78231d3ea..9b9605843e0 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.53 2001/02/26 02:36:39 csapuntz Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.54 2001/03/16 15:51:04 art Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -134,6 +134,7 @@ vntblinit()
TAILQ_INIT(&vnode_free_list);
simple_lock_init(&vnode_free_list_slock);
CIRCLEQ_INIT(&mountlist);
+ simple_lock_init(&mountlist_slock);
/*
* Initialize the filesystem syncer.
*/