DMU_OST_ANY
error = open_objset(dsname, DMU_OST_ANY, FTAG, &os);
error = open_objset(target, DMU_OST_ANY, FTAG, &os);
error = ztest_dmu_objset_own(snap2name, DMU_OST_ANY, B_TRUE, B_TRUE,
DMU_OST_ANY, B_TRUE, B_TRUE, FTAG, &os));
ASSERT(type != DMU_OST_ANY);
} else if (type != DMU_OST_ANY && type != (*osp)->os_phys->os_type) {
error = dmu_objset_own(name, DMU_OST_ANY, B_FALSE, B_FALSE,
DMU_OST_ANY, B_FALSE, B_FALSE, FTAG, &os);