diff options
author | tedu <tedu@openbsd.org> | 2014-12-23 01:53:57 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2014-12-23 01:53:57 +0000 |
commit | 33a7f8fd2937fb91015635ac90c697049de30938 (patch) | |
tree | d3118ecd51b75cf2a7855a74c5707380f458fb1d /sys/tmpfs | |
parent | change pool_init allocator to NULL and pass PR_WAITOK in flags as a sign (diff) | |
download | wireguard-openbsd-33a7f8fd2937fb91015635ac90c697049de30938.tar.xz wireguard-openbsd-33a7f8fd2937fb91015635ac90c697049de30938.zip |
change pool allocator to null and pass waitok to indicate nointr
Diffstat (limited to 'sys/tmpfs')
-rw-r--r-- | sys/tmpfs/tmpfs_vfsops.c | 10 |
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; } |