summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-17 23:46:29 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-17 23:46:29 +0000
commitbab5a3a3bd1d0c7e027ee29dd3707999c71d5ccc (patch)
tree9e94a4344c63ea179e3dcd2858b220bba541324c /sys/kern
parent196e13b3652ba89bcfb5f6b17cf2759d61c3ec56 (diff)
Collapse struct v_selectinfo in struct vnode, remove the
simplelock and reuse the name for the selinfo member. Clean-up accordingly. ok tedu@,art@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index d833e4e74e6..a63e28927d9 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.145 2007/05/09 01:09:16 deraadt Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.146 2007/05/17 23:46:28 thib Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -998,9 +998,7 @@ vclean(struct vnode *vp, int flags, struct proc *p)
* Done with purge, notify sleepers of the grim news.
*/
vp->v_op = dead_vnodeop_p;
- simple_lock(&vp->v_selectinfo.vsi_lock);
VN_KNOTE(vp, NOTE_REVOKE);
- simple_unlock(&vp->v_selectinfo.vsi_lock);
vp->v_tag = VT_NON;
vp->v_flag &= ~VXLOCK;
#ifdef VFSDEBUG