rc = dt_insert(env, parent, (const struct dt_rec *)rec,
(const struct dt_key *)name, th);
if (dti->dti_dof.dof_type == DFT_DIR)
rc = dt_insert(env, parent, (const struct dt_rec *)rec,
(const struct dt_key *)name, th);
if (dti->dti_dof.dof_type == DFT_DIR)