summaryrefslogtreecommitdiffstats
path: root/sys/isofs
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-08-31 06:56:25 +0000
committerkettenis <kettenis@openbsd.org>2015-08-31 06:56:25 +0000
commitba576a21a9165a812999917072dc9b936ed58913 (patch)
treeda9ba370a02575b40d5b697da21ced1600687af1 /sys/isofs
parentuse #function rather than @function on arm (diff)
downloadwireguard-openbsd-ba576a21a9165a812999917072dc9b936ed58913.tar.xz
wireguard-openbsd-ba576a21a9165a812999917072dc9b936ed58913.zip
Use PR_WAITOK to indicate that pools are not used in interrupt context
instead of using pool_allocator_nointr. ok tedu@
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/udf/udf_vfsops.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c
index ac9ebe491c0..84939567994 100644
--- a/sys/isofs/udf/udf_vfsops.c
+++ b/sys/isofs/udf/udf_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_vfsops.c,v 1.45 2015/03/14 03:38:50 jsg Exp $ */
+/* $OpenBSD: udf_vfsops.c,v 1.46 2015/08/31 06:56:25 kettenis Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -102,12 +102,12 @@ const struct vfsops udf_vfsops = {
int
udf_init(struct vfsconf *foo)
{
- pool_init(&udf_trans_pool, MAXNAMLEN * sizeof(unicode_t), 0, 0, 0,
- "udftrpl", &pool_allocator_nointr);
- pool_init(&unode_pool, sizeof(struct unode), 0, 0, 0,
- "udfndpl", &pool_allocator_nointr);
- pool_init(&udf_ds_pool, sizeof(struct udf_dirstream), 0, 0, 0,
- "udfdspl", &pool_allocator_nointr);
+ pool_init(&udf_trans_pool, MAXNAMLEN * sizeof(unicode_t), 0, 0,
+ PR_WAITOK, "udftrpl", NULL);
+ pool_init(&unode_pool, sizeof(struct unode), 0, 0,
+ PR_WAITOK, "udfndpl", NULL);
+ pool_init(&udf_ds_pool, sizeof(struct udf_dirstream), 0, 0,
+ PR_WAITOK, "udfdspl", NULL);
return (0);
}