summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2006-06-02 20:25:10 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2006-06-02 20:25:10 +0000
commit854e01c2288676f277db0e5828b69925f388839c (patch)
treed09bd3e60f26057cb57681c89a472ff67aca6d86 /sys/kern/vfs_subr.c
parentd6614a5341f43974e48e8eb4eaa3799015def4bd (diff)
Add a clonable devices implementation. Hacked along with thib@, input
from krw@ and toby@, subliminal prodding from dlg@, okay deraadt@.
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 aa5b96b786b..3170b903426 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.126 2006/05/28 04:03:28 pedro Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.127 2006/06/02 20:25:09 pedro Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -578,6 +578,7 @@ loop:
nvp->v_specnext = *vpp;
nvp->v_specmountpoint = NULL;
nvp->v_speclockf = NULL;
+ bzero(nvp->v_specbitmap, sizeof(nvp->v_specbitmap));
simple_unlock(&spechash_slock);
*vpp = nvp;
if (vp != NULLVP) {