diff options
| author | Alex Richardson <arichardson@FreeBSD.org> | 2026-05-07 04:21:50 +0000 |
|---|---|---|
| committer | Alex Richardson <arichardson@FreeBSD.org> | 2026-05-07 04:23:04 +0000 |
| commit | 1ed2ef42e01771f5d8ca9be61e07dcf0fd47feba (patch) | |
| tree | b7a0bded25cf50028a592331be44f335bdbdfd73 /sys/fs | |
| parent | 3fe5069ce2bf5b2702f3be6531ce6a05c584e64d (diff) | |
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/p9fs/p9fs_vfsops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/fs/p9fs/p9fs_vfsops.c b/sys/fs/p9fs/p9fs_vfsops.c index 0e09c58e57b6..a0f0a5a4e494 100644 --- a/sys/fs/p9fs/p9fs_vfsops.c +++ b/sys/fs/p9fs/p9fs_vfsops.c @@ -119,6 +119,8 @@ p9fs_init(struct vfsconf *vfsp) p9fs_io_buffer_zone = uma_zcreate("p9fs io_buffer zone", P9FS_MTU, NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0); + p9_init_zones(); + return (0); } @@ -127,6 +129,8 @@ static int p9fs_uninit(struct vfsconf *vfsp) { + p9_destroy_zones(); + uma_zdestroy(p9fs_node_zone); uma_zdestroy(p9fs_io_buffer_zone); uma_zdestroy(p9fs_getattr_zone); |
