Add mutex_destroy() missed in r334844.
MFC after: 1 week Sponsored by: iXsystems, Inc.
This commit is contained in:
parent
3b30feba45
commit
7763842174
@ -498,8 +498,10 @@ dsl_pool_close(dsl_pool_t *dp)
|
||||
rrw_destroy(&dp->dp_config_rwlock);
|
||||
mutex_destroy(&dp->dp_lock);
|
||||
taskq_destroy(dp->dp_vnrele_taskq);
|
||||
if (dp->dp_blkstats != NULL)
|
||||
if (dp->dp_blkstats != NULL) {
|
||||
mutex_destroy(&dp->dp_blkstats->zab_lock);
|
||||
kmem_free(dp->dp_blkstats, sizeof (zfs_all_blkstats_t));
|
||||
}
|
||||
kmem_free(dp, sizeof (dsl_pool_t));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user