diff options
author | 2014-12-23 04:53:20 +0000 | |
---|---|---|
committer | 2014-12-23 04:53:20 +0000 | |
commit | 0c632275634ac9fcaf2a9711ed817f35ad04db18 (patch) | |
tree | 97e175cabb1eeeea9a8df4c80615ea3441a52967 /sys | |
parent | optimize locking a wee bit by holding it for critical parts only (diff) | |
download | wireguard-openbsd-0c632275634ac9fcaf2a9711ed817f35ad04db18.tar.xz wireguard-openbsd-0c632275634ac9fcaf2a9711ed817f35ad04db18.zip |
convert from nointr to waitok
Diffstat (limited to 'sys')
-rw-r--r-- | sys/miscfs/fuse/fuse_vfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/miscfs/fuse/fuse_vfsops.c b/sys/miscfs/fuse/fuse_vfsops.c index 6c8f5cc73df..7b5d46a07e2 100644 --- a/sys/miscfs/fuse/fuse_vfsops.c +++ b/sys/miscfs/fuse/fuse_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_vfsops.c,v 1.13 2014/12/16 18:30:04 tedu Exp $ */ +/* $OpenBSD: fuse_vfsops.c,v 1.14 2014/12/23 04:53:20 tedu Exp $ */ /* * Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -305,8 +305,8 @@ int fusefs_vptofh(struct vnode *vp, struct fid *fhp) int fusefs_init(struct vfsconf *vfc) { - pool_init(&fusefs_fbuf_pool, sizeof(struct fusebuf), 0, 0, 0, - "fmsg", &pool_allocator_nointr); + pool_init(&fusefs_fbuf_pool, sizeof(struct fusebuf), 0, 0, PR_WAITOK, + "fmsg", NULL); return (0); } |