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/tmpfs | |
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/tmpfs')
-rw-r--r-- | sys/tmpfs/tmpfs_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/tmpfs/tmpfs_vnops.c b/sys/tmpfs/tmpfs_vnops.c index bc1390d72c9..d910b152362 100644 --- a/sys/tmpfs/tmpfs_vnops.c +++ b/sys/tmpfs/tmpfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmpfs_vnops.c,v 1.52 2022/06/26 05:20:42 visa Exp $ */ +/* $OpenBSD: tmpfs_vnops.c,v 1.53 2023/09/08 20:00:28 mvs Exp $ */ /* $NetBSD: tmpfs_vnops.c,v 1.100 2012/11/05 17:27:39 dholland Exp $ */ /* @@ -2627,7 +2627,7 @@ tmpfs_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); } @@ -2637,7 +2637,7 @@ filt_tmpfsdetach(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 |