diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2023-09-08 20:00:29 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2023-09-08 20:00:29 +0000 |
commit | a8ce2ee981e9a9bbd855e2f250450bc41703f579 (patch) | |
tree | a6d322a30636db36cc4030f3d45a54ea1c43e89c /sys/nfs/nfs_kq.c | |
parent | 561f93c80143342343b2bdfbe552cd66f9e61826 (diff) |
Remove the remnants of the leftover selinfo from vnode(9) layer. Just
mechanical 'selinfo' to 'klist' replacement in 'vnode' structure because
knote(9) API is already used.
<sys/selinfo.h> headers added where is was required.
ok bluhm
Diffstat (limited to 'sys/nfs/nfs_kq.c')
-rw-r--r-- | sys/nfs/nfs_kq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_kq.c b/sys/nfs/nfs_kq.c index 999fed0a8e9..9ac86b51c57 100644 --- a/sys/nfs/nfs_kq.c +++ b/sys/nfs/nfs_kq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_kq.c,v 1.35 2023/03/08 04:43:09 guenther Exp $ */ +/* $OpenBSD: nfs_kq.c,v 1.36 2023/09/08 20:00:28 mvs Exp $ */ /* $NetBSD: nfs_kq.c,v 1.7 2003/10/30 01:43:10 simonb Exp $ */ /*- @@ -185,7 +185,7 @@ filt_nfsdetach(struct knote *kn) { struct vnode *vp = (struct vnode *)kn->kn_hook; - klist_remove_locked(&vp->v_selectinfo.si_note, kn); + klist_remove_locked(&vp->v_klist, kn); /* Remove the vnode from watch list */ if ((kn->kn_flags & (__EV_POLL | __EV_SELECT)) == 0) @@ -342,7 +342,7 @@ nfs_kqfilter(void *v) return (error); } - klist_insert_locked(&vp->v_selectinfo.si_note, kn); + klist_insert_locked(&vp->v_klist, kn); return (0); } |