Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103035624
D40143.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D40143.diff
View Options
diff --git a/sys/fs/fuse/fuse_main.c b/sys/fs/fuse/fuse_main.c
--- a/sys/fs/fuse/fuse_main.c
+++ b/sys/fs/fuse/fuse_main.c
@@ -96,7 +96,6 @@
extern struct vfsops fuse_vfsops;
extern struct cdevsw fuse_cdevsw;
extern struct vop_vector fuse_fifonops;
-extern uma_zone_t fuse_pbuf_zone;
static struct vfsconf fuse_vfsconf = {
.vfc_version = VFS_VERSION,
@@ -151,7 +150,6 @@
fuse_file_init();
fuse_internal_init();
fuse_node_init();
- fuse_pbuf_zone = pbuf_zsecond_create("fusepbuf", nswbuf / 2);
/* vfs_modevent ignores its first arg */
if ((err = vfs_modevent(NULL, what, &fuse_vfsconf)))
@@ -161,7 +159,6 @@
if ((err = vfs_modevent(NULL, what, &fuse_vfsconf)))
return (err);
fuse_bringdown(eh_tag);
- uma_zdestroy(fuse_pbuf_zone);
break;
default:
return (EINVAL);
diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c
--- a/sys/fs/fuse/fuse_vnops.c
+++ b/sys/fs/fuse/fuse_vnops.c
@@ -229,8 +229,6 @@
};
VFS_VOP_VECTOR_REGISTER(fuse_vnops);
-uma_zone_t fuse_pbuf_zone;
-
/* Check permission for extattr operations, much like extattr_check_cred */
static int
fuse_extattr_check_cred(struct vnode *vp, int ns, struct ucred *cred,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 2:37 AM (21 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14741784
Default Alt Text
D40143.diff (1 KB)
Attached To
Mode
D40143: fusefs: Remove an unused pbuf zone
Attached
Detach File
Event Timeline
Log In to Comment