summaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfs_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/msdosfs/msdosfs_vnops.c')
-rw-r--r--sys/msdosfs/msdosfs_vnops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index b0e45969033..fc46268052e 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.131 2020/03/24 14:03:30 krw Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.132 2020/04/07 13:27:52 visa Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -1980,7 +1980,7 @@ msdosfs_kqfilter(void *v)
kn->kn_hook = (caddr_t)vp;
- SLIST_INSERT_HEAD(&vp->v_selectinfo.si_note, kn, kn_selnext);
+ klist_insert(&vp->v_selectinfo.si_note, kn);
return (0);
}
@@ -1990,7 +1990,7 @@ filt_msdosfsdetach(struct knote *kn)
{
struct vnode *vp = (struct vnode *)kn->kn_hook;
- SLIST_REMOVE(&vp->v_selectinfo.si_note, kn, knote, kn_selnext);
+ klist_remove(&vp->v_selectinfo.si_note, kn);
}
int