-static inline int mdd_orphan_delete_obj(const struct lu_env *env,
- struct mdd_device *mdd ,
- struct dt_key *key,
- struct thandle *th)
-{
- struct dt_object *dor = mdd->mdd_orphans;
-
- return dor->do_index_ops->dio_delete(env, dor,
- key, th,
- BYPASS_CAPA);
-}
-
-static inline void mdd_orphan_ref_add(const struct lu_env *env,
- struct mdd_device *mdd,
- struct thandle *th)
-{
- struct dt_object *dor = mdd->mdd_orphans;
- dor->do_ops->do_ref_add(env, dor, th);
-}
-
-static inline void mdd_orphan_ref_del(const struct lu_env *env,
- struct mdd_device *mdd,
- struct thandle *th)
-{
- struct dt_object *dor = mdd->mdd_orphans;
- dor->do_ops->do_ref_del(env, dor, th);
-}
-
-
-int orph_declare_index_insert(const struct lu_env *env,
- struct mdd_object *obj,