Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=19964 SOM EA
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_orphans.c
diff --git
a/lustre/mdd/mdd_orphans.c
b/lustre/mdd/mdd_orphans.c
index
64294cf
..
c9dff6d
100644
(file)
--- a/
lustre/mdd/mdd_orphans.c
+++ b/
lustre/mdd/mdd_orphans.c
@@
-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,
ENTRY;
return dor->do_index_ops->dio_insert(env, dor,
-
__mdd_fid_rec(env, lf)
,
+
(struct dt_rec *)lf
,
key, th,
BYPASS_CAPA, 1);
}
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,
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:
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
* \pre obj nlink == 0 && obj->mod_count != 0
*
* \retval 0 success
- * \retva -ve index operation error.
+ * \retva
l
-ve index operation error.
*/
int __mdd_orphan_add(const struct lu_env *env,
*/
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
* \pre obj->mod_count == 0 && ORPHAN_OBJ is set for obj.
*
* \retval 0 success
- * \retva -ve index operation error.
+ * \retva
l
-ve index operation error.
*/
int __mdd_orphan_del(const struct lu_env *env,
*/
int __mdd_orphan_del(const struct lu_env *env,