GOTO(stop, rc);
rc = dt_insert(env, parent_obj, (const struct dt_rec *)&ent,
- (const struct dt_key *)name, th, 1);
+ (const struct dt_key *)name, th);
dt_trans_stop(env, dev, th);
/* Some index name may has been inserted by OSD
* automatically when create the index object. */
if (rc)
GOTO(stop, rc);
- rc = dt_insert(env, tgt_obj, rec, key, th, 1);
+ rc = dt_insert(env, tgt_obj, rec, key, th);
if (unlikely(rc == -EEXIST))
rc = 0;