diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-04 11:50:34 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-04 11:50:34 +0000 |
commit | fa99982ecabdcd1f4053d431b5045ddf6e56b21b (patch) | |
tree | 5bdf5fa137832fdabb4a390e6df068915b12581e | |
parent | f16375802ca6889b795d32c69789664482487d06 (diff) |
The nfsrv_descript_pl pool never gets used in interrupt context.
ok deraadt@
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 4 |
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 */ |