summaryrefslogtreecommitdiff
path: root/sys/isofs
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-09-08 20:00:29 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-09-08 20:00:29 +0000
commita8ce2ee981e9a9bbd855e2f250450bc41703f579 (patch)
treea6d322a30636db36cc4030f3d45a54ea1c43e89c /sys/isofs
parent561f93c80143342343b2bdfbe552cd66f9e61826 (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/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index 7f66460e460..3ac15e3a21e 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vnops.c,v 1.94 2023/03/08 04:43:08 guenther Exp $ */
+/* $OpenBSD: cd9660_vnops.c,v 1.95 2023/09/08 20:00:28 mvs Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */
/*-
@@ -961,7 +961,7 @@ cd9660_kqfilter(void *v)
kn->kn_hook = (caddr_t)vp;
- klist_insert_locked(&vp->v_selectinfo.si_note, kn);
+ klist_insert_locked(&vp->v_klist, kn);
return (0);
}
@@ -971,7 +971,7 @@ filt_cd9660detach(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);
}
int