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.
This commit is contained in:
Brian Behlendorf 2010-06-28 10:00:12 -07:00
parent e163b08ba3
commit 0c11631b02
1 changed files with 1 additions and 1 deletions

View File

@ -913,7 +913,7 @@ dmu_objset_snapshot(char *fsname, char *snapname,
if (dst->dst_err) if (dst->dst_err)
dsl_dataset_name(ds, sn->failed); dsl_dataset_name(ds, sn->failed);
zil_resume(dmu_objset_zil(os)); zil_resume(dmu_objset_zil(os));
dmu_objset_rele(os, &sn); dmu_objset_rele(os, sn);
} }
if (err) if (err)