From: Brian Behlendorf Date: Mon, 28 Jun 2010 17:00:12 +0000 (-0700) Subject: Fix for fix-stack-dmu_objset_snapshot should be 'sn' not '&sn' X-Git-Tag: zfs-0.5.0~38^2^2~1^2^2~21^2^2^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c11631b026b2e9dd40cefb72313970cc1eb389c;p=zfs 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. --- diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 32bb614c8..ba024584f 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)