diff options
author | delphij <delphij@FreeBSD.org> | 2014-07-29 05:41:54 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-07-29 05:41:54 +0000 |
commit | 12df8077a6be5397f6d806d09abb9004c3723694 (patch) | |
tree | d260c6ca4f07358a8919b3eb8bfe4b689674c756 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c | |
parent | 24c4578f549b48235d30174a4b91f31620ea264f (diff) | |
download | FreeBSD-src-12df8077a6be5397f6d806d09abb9004c3723694.zip FreeBSD-src-12df8077a6be5397f6d806d09abb9004c3723694.tar.gz |
MFC r268713: MFV r268702:
Add missing *_destroy() calls in various places with ZFS.
Illumos issue:
4975 missing mutex_destroy() calls in zfs
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c index 684d64f..aca4203 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c @@ -476,8 +476,8 @@ dnode_undirty_dbufs(list_t *list) dr->dt.dl.dr_data == db->db_buf); dbuf_unoverride(dr); } else { - list_destroy(&dr->dt.di.dr_children); mutex_destroy(&dr->dt.di.dr_mtx); + list_destroy(&dr->dt.di.dr_children); } kmem_free(dr, sizeof (dbuf_dirty_record_t)); dbuf_rele_and_unlock(db, (void *)(uintptr_t)txg); |