From: tedu Date: Tue, 23 Dec 2014 01:53:57 +0000 (+0000) Subject: change pool allocator to null and pass waitok to indicate nointr X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=33a7f8fd2937fb91015635ac90c697049de30938;p=openbsd change pool allocator to null and pass waitok to indicate nointr --- 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; }