summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-26 18:42:22 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-26 18:42:22 +0000
commit30b3137738deb87a3c33c304e85268fd5b988889 (patch)
tree8b77cad4d927b76895182504ef7d6269ec289dd9 /sys/kern/vfs_default.c
parent6dbf10d7fc282220e83df2406fb9557bf166fd32 (diff)
Nuke a bunch of simpelocks and associated goo.
ok art@
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r--sys/kern/vfs_default.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index cdd2a7daefb..f2ff3834386 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_default.c,v 1.32 2007/03/21 17:29:31 thib Exp $ */
+/* $OpenBSD: vfs_default.c,v 1.33 2007/05/26 18:42:21 thib Exp $ */
/*
* Portions of this code are:
@@ -47,8 +47,6 @@
#include <sys/event.h>
#include <miscfs/specfs/specdev.h>
-extern struct simplelock spechash_slock;
-
int filt_generic_readwrite(struct knote *, long);
void filt_generic_detach(struct knote *);
@@ -92,16 +90,13 @@ vop_generic_revoke(void *v)
*/
vp->v_flag |= VXLOCK;
while (vp->v_flag & VALIASED) {
- simple_lock(&spechash_slock);
for (vq = *vp->v_hashchain; vq; vq = vq->v_specnext) {
if (vq->v_rdev != vp->v_rdev ||
vq->v_type != vp->v_type || vp == vq)
continue;
- simple_unlock(&spechash_slock);
vgone(vq);
break;
}
- simple_unlock(&spechash_slock);
}
/*