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:
parent
e163b08ba3
commit
0c11631b02
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue