diff options
author | pjd <pjd@FreeBSD.org> | 2007-05-06 19:05:37 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-05-06 19:05:37 +0000 |
commit | e719d9746950e5d50fca7db8e178d20037263262 (patch) | |
tree | 95cba692d0bf26f725dbc7a37642171ee00406de /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c | |
parent | c1f9a3e303048a7b8d456ac3131ecb19ae26e7d8 (diff) | |
download | FreeBSD-src-e719d9746950e5d50fca7db8e178d20037263262.zip FreeBSD-src-e719d9746950e5d50fca7db8e178d20037263262.tar.gz |
- Add missing lock destruction and remove duplicate initializations.
With this change it is possible to unload zfs.ko module from
WITNESS-enabled kernel.
- Remove bogus comment.
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c index 7046254..00abf7e 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c @@ -129,6 +129,7 @@ dsl_pool_close(dsl_pool_t *dp) txg_list_destroy(&dp->dp_dirty_datasets); txg_list_destroy(&dp->dp_dirty_dirs); + txg_list_destroy(&dp->dp_sync_tasks); list_destroy(&dp->dp_synced_objsets); arc_flush(); |