aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorAlex Reece <[email protected]>2015-04-02 00:10:21 +1100
committerBrian Behlendorf <[email protected]>2015-04-28 16:23:14 -0700
commitca227e54a89e0797ca99063a326f01633267a44a (patch)
tree774b2285b21c0555c0fc110502cb5599bcbe52e6 /module/zfs
parent788eb90c4ca64beaf85ef542bb22c64fcb50993a (diff)
Illumos 3897 - zfs filesystem and snapshot limits (fix leak)
3897 zfs filesystem and snapshot limits (fix leak) Author: Alex Reece <[email protected]> Approved by: Christopher Siden <[email protected]> References: https://www.illumos.org/issues/3897 https://github.com/illumos/illumos-gate/commit/fb7001f Ported-by: Chris Dunlop <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/dsl_dir.c1
1 files changed, 1 insertions, 0 deletions
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);