summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-12-19 05:59:21 +0000
committertedu <tedu@openbsd.org>2014-12-19 05:59:21 +0000
commitfbab5b6cdee93fd0818b09c6201db020bd35a0fd (patch)
tree39a72a7aa63cbcbc57b980b1f4d8b345ffcbc99b /sys/kern/vfs_init.c
parentif you really must look inside the pool to decide if you've called (diff)
downloadwireguard-openbsd-fbab5b6cdee93fd0818b09c6201db020bd35a0fd.tar.xz
wireguard-openbsd-fbab5b6cdee93fd0818b09c6201db020bd35a0fd.zip
start retiring the nointr allocator. specify PR_WAITOK as a flag as a
marker for which pools are not interrupt safe. ok dlg
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index dd2afbbb810..02a58dc7924 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_init.c,v 1.34 2014/09/08 01:47:06 guenther Exp $ */
+/* $OpenBSD: vfs_init.c,v 1.35 2014/12/19 05:59:21 tedu Exp $ */
/* $NetBSD: vfs_init.c,v 1.6 1996/02/09 19:00:58 christos Exp $ */
/*
@@ -149,8 +149,7 @@ vfsinit(void)
struct vfsconf *vfsconflist;
int vfsconflistlen;
- pool_init(&namei_pool, MAXPATHLEN, 0, 0, 0, "namei",
- &pool_allocator_nointr);
+ pool_init(&namei_pool, MAXPATHLEN, 0, 0, PR_WAITOK, "namei", NULL);
/* Initialize the vnode table. */
vntblinit();