From ca227e54a89e0797ca99063a326f01633267a44a Mon Sep 17 00:00:00 2001 From: Alex Reece Date: Thu, 2 Apr 2015 00:10:21 +1100 Subject: [PATCH] Illumos 3897 - zfs filesystem and snapshot limits (fix leak) 3897 zfs filesystem and snapshot limits (fix leak) Author: Alex Reece Approved by: Christopher Siden References: https://www.illumos.org/issues/3897 https://github.com/illumos/illumos-gate/commit/fb7001f Ported-by: Chris Dunlop Signed-off-by: Brian Behlendorf --- module/zfs/dsl_dir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/module/zfs/dsl_dir.c b/module/zfs/dsl_dir.c index 86b40657c..3e6b7a018 100644 --- a/module/zfs/dsl_dir.c +++ b/module/zfs/dsl_dir.c @@ -550,6 +550,7 @@ dsl_dir_init_fs_ss_count(dsl_dir_t *dd, dmu_tx_t *tx) if (za->za_name[0] != '%') my_ss_cnt++; } + zap_cursor_fini(zc); dsl_dataset_rele(ds, FTAG); -- 2.40.0