From 33a7f8fd2937fb91015635ac90c697049de30938 Mon Sep 17 00:00:00 2001 From: tedu Date: Tue, 23 Dec 2014 01:53:57 +0000 Subject: [PATCH] change pool allocator to null and pass waitok to indicate nointr --- sys/tmpfs/tmpfs_vfsops.c | 10 +++++----- 1 file 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; } -- 2.20.1