summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-23 01:53:58 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-23 01:53:58 +0000
commit5ce61b609d41389433432593a49011c54426ed0d (patch)
treece71260f1e356b9fc336d54ebbef6fe3c622bd00 /sys
parent567dec4a5cf061ddcfa58255175a7480160ff6c5 (diff)
change pool allocator to null and pass waitok to indicate nointr
Diffstat (limited to 'sys')
-rw-r--r--sys/tmpfs/tmpfs_vfsops.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/tmpfs/tmpfs_vfsops.c b/sys/tmpfs/tmpfs_vfsops.c
index b974a6dca60..06c737244f4 100644
--- a/sys/tmpfs/tmpfs_vfsops.c
+++ b/sys/tmpfs/tmpfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmpfs_vfsops.c,v 1.5 2014/11/02 03:47:28 tedu Exp $ */
+/* $OpenBSD: tmpfs_vfsops.c,v 1.6 2014/12/23 01:53:57 tedu Exp $ */
/* $NetBSD: tmpfs_vfsops.c,v 1.52 2011/09/27 01:10:43 christos Exp $ */
/*
@@ -78,10 +78,10 @@ int
tmpfs_init(struct vfsconf *vfsp)
{
- pool_init(&tmpfs_dirent_pool, sizeof(tmpfs_dirent_t), 0, 0, 0,
- "tmpfs_dirent", &pool_allocator_nointr);
- pool_init(&tmpfs_node_pool, sizeof(tmpfs_node_t), 0, 0, 0,
- "tmpfs_node", &pool_allocator_nointr);
+ pool_init(&tmpfs_dirent_pool, sizeof(tmpfs_dirent_t), 0, 0, PR_WAITOK,
+ "tmpfs_dirent", NULL);
+ pool_init(&tmpfs_node_pool, sizeof(tmpfs_node_t), 0, 0, PR_WAITOK,
+ "tmpfs_node", NULL);
return 0;
}