summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-09-04 11:50:34 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-09-04 11:50:34 +0000
commitfa99982ecabdcd1f4053d431b5045ddf6e56b21b (patch)
tree5bdf5fa137832fdabb4a390e6df068915b12581e /sys/nfs
parentf16375802ca6889b795d32c69789664482487d06 (diff)
The nfsrv_descript_pl pool never gets used in interrupt context.
ok deraadt@
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c
index f9615f4eda9..fabdb4e64ee 100644
--- a/sys/nfs/nfs_syscalls.c
+++ b/sys/nfs/nfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_syscalls.c,v 1.103 2015/07/15 22:16:42 deraadt Exp $ */
+/* $OpenBSD: nfs_syscalls.c,v 1.104 2015/09/04 11:50:33 kettenis Exp $ */
/* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */
/*
@@ -547,7 +547,7 @@ nfsrv_init(int terminating)
if (!terminating)
pool_init(&nfsrv_descript_pl, sizeof(struct nfsrv_descript),
- 0, 0, 0, "ndscpl", &pool_allocator_nointr);
+ 0, 0, PR_WAITOK, "ndscpl", NULL);
}
#endif /* NFSSERVER */