summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_kq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs/nfs_kq.c')
-rw-r--r--sys/nfs/nfs_kq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_kq.c b/sys/nfs/nfs_kq.c
index 990f66651c0..0ccbe14ccb3 100644
--- a/sys/nfs/nfs_kq.c
+++ b/sys/nfs/nfs_kq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_kq.c,v 1.25 2019/08/05 08:35:59 anton Exp $ */
+/* $OpenBSD: nfs_kq.c,v 1.26 2019/12/05 10:41:57 mpi Exp $ */
/* $NetBSD: nfs_kq.c,v 1.7 2003/10/30 01:43:10 simonb Exp $ */
/*-
@@ -193,7 +193,7 @@ filt_nfsdetach(struct knote *kn)
while (ke->flags & KEVQ_BUSY) {
ke->flags |= KEVQ_WANT;
rw_exit_write(&nfskevq_lock);
- (void) tsleep(ke, PSOCK, "nfskqdet", 0);
+ tsleep_nsec(ke, PSOCK, "nfskqdet", INFSLP);
rw_enter_write(&nfskevq_lock);
}