From 0c11631b026b2e9dd40cefb72313970cc1eb389c Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 28 Jun 2010 10:00:12 -0700 Subject: [PATCH] Fix for fix-stack-dmu_objset_snapshot should be 'sn' not '&sn' I missed a instanse of removing the & operator when reducing the stack usage in this function. This unfortunately doesn't cause a compile warning but it is does cause ztest failures. Anyway, update the topic branch to correct this mistake. --- module/zfs/dmu_objset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 32bb614c81..ba024584fa 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -913,7 +913,7 @@ dmu_objset_snapshot(char *fsname, char *snapname, if (dst->dst_err) dsl_dataset_name(ds, sn->failed); zil_resume(dmu_objset_zil(os)); - dmu_objset_rele(os, &sn); + dmu_objset_rele(os, sn); } if (err)