summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2018-09-19 10:08:05 -0400
committerDan McDonald <danmcd@joyent.com>2018-09-19 10:08:05 -0400
commit78149ac661d1ba94da655d9464c92bdd323b0ffc (patch)
treebf4491eff3c87255a781b86c862e0d7d5d867d76
parent1c2d047073bbce6a9b75c601e17fcaadf4060f52 (diff)
downloadillumos-joyent-78149ac661d1ba94da655d9464c92bdd323b0ffc.tar.gz
Backout: 9680 dsl_dataset_hold_obj can leak bookmarks (breaks build)
This reverts commit 1946268f4b5e55d1de5a354a87463d24be6991ca.
-rw-r--r--usr/src/uts/common/fs/zfs/dsl_dataset.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/zfs/dsl_dataset.c b/usr/src/uts/common/fs/zfs/dsl_dataset.c
index fd51f851c4..a08477e29d 100644
--- a/usr/src/uts/common/fs/zfs/dsl_dataset.c
+++ b/usr/src/uts/common/fs/zfs/dsl_dataset.c
@@ -559,7 +559,6 @@ dsl_dataset_hold_obj(dsl_pool_t *dp, uint64_t dsobj, void *tag,
dsl_deadlist_close(&ds->ds_deadlist);
if (dsl_deadlist_is_open(&ds->ds_remap_deadlist))
dsl_deadlist_close(&ds->ds_remap_deadlist);
- dsl_bookmark_fini_ds(ds);
if (ds->ds_prev)
dsl_dataset_rele(ds->ds_prev, ds);
dsl_dir_rele(ds->ds_dir, ds);