diff options
author | 2007-05-17 23:46:28 +0000 | |
---|---|---|
committer | 2007-05-17 23:46:28 +0000 | |
commit | a4bf3fbc3a77a96b3446754ae2973c6ed1a12492 (patch) | |
tree | 0f67c3754298b82bdab24b4f134063957cb01ecc /sys/kern/vfs_subr.c | |
parent | pass received SIGINT from monitor to postauth child so it can clean (diff) | |
download | wireguard-openbsd-a4bf3fbc3a77a96b3446754ae2973c6ed1a12492.tar.xz wireguard-openbsd-a4bf3fbc3a77a96b3446754ae2973c6ed1a12492.zip |
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/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
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 |