summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-16 01:09:49 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-16 01:09:49 +0000
commite1dbba2ef1467abec0c20c2c2ea910e7b486e1f3 (patch)
tree7c9954dc328350328916d60cbbdecd18a1808283 /sys/kern/vfs_default.c
parent1ed37fdaa08480e3d41576db6ed961962744f4d0 (diff)
Locking bug on spechash. Thanks to Dawson Engler and team
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r--sys/kern/vfs_default.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index 26c9e49a5a2..d50cb3ef6f0 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_default.c,v 1.3 1998/08/06 19:34:24 csapuntz Exp $ */
+/* $OpenBSD: vfs_default.c,v 1.4 2001/03/16 01:09:48 csapuntz Exp $ */
/*
@@ -104,6 +104,7 @@ vop_generic_revoke(v)
vgone(vq);
break;
}
+ simple_unlock(&spechash_slock);
}
/*
* Remove the lock so that vgone below will