mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
Add missing *_destroy/*_fini calls
The proposed debugging enhancements in zfsonlinux/spl#587 identified the following missing *_destroy/*_fini calls. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gvozden Neskovic <neskovic@gmail.com> Closes #5428
This commit is contained in:
committed by
Brian Behlendorf
parent
8fa5250f5d
commit
c17486b217
@@ -1913,6 +1913,8 @@ zfs_create_fs(objset_t *os, cred_t *cr, nvlist_t *zplprops, dmu_tx_t *tx)
|
||||
mutex_destroy(&zfsvfs->z_hold_locks[i]);
|
||||
}
|
||||
|
||||
mutex_destroy(&zfsvfs->z_znodes_lock);
|
||||
|
||||
vmem_free(zfsvfs->z_hold_trees, sizeof (avl_tree_t) * size);
|
||||
vmem_free(zfsvfs->z_hold_locks, sizeof (kmutex_t) * size);
|
||||
kmem_free(sb, sizeof (struct super_block));
|
||||
|
||||
Reference in New Issue
Block a user