Whamcloud - gitweb
b=19964 SOM EA
[fs/lustre-release.git] / lustre / mdd / mdd_orphans.c
index 64294cf..c9dff6d 100644 (file)
@@ -143,7 +143,7 @@ static inline int mdd_orphan_insert_obj(const struct lu_env *env,
         ENTRY;
 
         return  dor->do_index_ops->dio_insert(env, dor,
-                                              __mdd_fid_rec(env, lf),
+                                              (struct dt_rec *)lf,
                                               key, th,
                                               BYPASS_CAPA, 1);
 }
@@ -215,7 +215,7 @@ static int orph_index_insert(const struct lu_env *env,
                                        dotdot, th, BYPASS_CAPA);
 
         next->do_index_ops->dio_insert(env, next,
-                                       __mdd_fid_rec(env, lf_dor),
+                                       (struct dt_rec *) lf_dor,
                                        dotdot, th, BYPASS_CAPA, 1);
 
 out:
@@ -501,7 +501,7 @@ int __mdd_orphan_cleanup(const struct lu_env *env, struct mdd_device *d)
  *  \pre obj nlink == 0 && obj->mod_count != 0
  *
  *  \retval 0  success
- *  \retva  -ve index operation error.
+ *  \retval  -ve index operation error.
  */
 
 int __mdd_orphan_add(const struct lu_env *env,
@@ -518,7 +518,7 @@ int __mdd_orphan_add(const struct lu_env *env,
  *  \pre obj->mod_count == 0 && ORPHAN_OBJ is set for obj.
  *
  *  \retval 0  success
- *  \retva  -ve index operation error.
+ *  \retval  -ve index operation error.
  */
 
 int __mdd_orphan_del(const struct lu_env *env,