diff options
author | Gvozden Neskovic <[email protected]> | 2016-11-26 21:30:44 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-04 19:26:28 -0400 |
commit | c17486b2178fc545c50d48effd4be47d33208933 (patch) | |
tree | 82f82e4b72863f3096efd7e7db84aaec3f4b8757 /module/zfs/dmu_objset.c | |
parent | 8fa5250f5d779e577406c581fc2d7fbf0baceea5 (diff) |
Add missing *_destroy/*_fini calls
The proposed debugging enhancements in zfsonlinux/spl#587
identified the following missing *_destroy/*_fini calls.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Gvozden Neskovic <[email protected]>
Closes #5428
Diffstat (limited to 'module/zfs/dmu_objset.c')
-rw-r--r-- | module/zfs/dmu_objset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 43de05c50..946e4602f 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -846,6 +846,7 @@ dmu_objset_evict_done(objset_t *os) mutex_destroy(&os->os_userused_lock); mutex_destroy(&os->os_obj_lock); mutex_destroy(&os->os_user_ptr_lock); + mutex_destroy(&os->os_upgrade_lock); for (int i = 0; i < TXG_SIZE; i++) { multilist_destroy(os->os_dirty_dnodes[i]); } |