diff options
| author | 2007-05-26 18:42:21 +0000 | |
|---|---|---|
| committer | 2007-05-26 18:42:21 +0000 | |
| commit | 1d47799a88693fe62200757ee7476f37ea4593ea (patch) | |
| tree | ffca13ec9f0114524487e9b7ab7d69173d927827 /sys/kern/vfs_default.c | |
| parent | wrap the debug macro in do { } while (0) (diff) | |
| download | wireguard-openbsd-1d47799a88693fe62200757ee7476f37ea4593ea.tar.xz wireguard-openbsd-1d47799a88693fe62200757ee7476f37ea4593ea.zip | |
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.c | 7 |
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); } /* |
