]> granicus.if.org Git - zfs/commitdiff
Fix for fix-stack-dmu_objset_snapshot should be 'sn' not '&sn'
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Jun 2010 17:00:12 +0000 (10:00 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Jun 2010 17:06:29 +0000 (10:06 -0700)
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

index 32bb614c813605c0d83f940f956344f3d9273c99..ba024584fac0edb7852d3b74de67e2b1b627ad43 100644 (file)
@@ -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)