Whamcloud - gitweb
LU-8589 osd: remove "object" from method function names
[fs/lustre-release.git] / lustre / mdd / mdd_internal.h
index e7e4eb7..2588436 100644 (file)
@@ -177,7 +177,7 @@ int mdd_attr_set_internal(const struct lu_env *env,
 int mdd_update_time(const struct lu_env *env, struct mdd_object *obj,
                    const struct lu_attr *oattr, struct lu_attr *attr,
                    struct thandle *handle);
-int mdd_object_create_internal(const struct lu_env *env, struct mdd_object *p,
+int mdd_create_object_internal(const struct lu_env *env, struct mdd_object *p,
                               struct mdd_object *c, struct lu_attr *attr,
                               struct thandle *handle,
                               const struct md_op_spec *spec,
@@ -292,7 +292,7 @@ int mdd_changelog_ns_store(const struct lu_env *env, struct mdd_device *mdd,
                           const struct lu_name *sname,
                           struct thandle *handle);
 int mdd_invalidate(const struct lu_env *env, struct md_object *obj);
-int mdd_declare_object_create_internal(const struct lu_env *env,
+int mdd_declare_create_object_internal(const struct lu_env *env,
                                       struct mdd_object *p,
                                       struct mdd_object *c,
                                       struct lu_attr *attr,
@@ -668,24 +668,20 @@ static inline int mdo_ref_del(const struct lu_env *env, struct mdd_object *obj,
 }
 
 static inline int
-mdo_declare_create_obj(const struct lu_env *env, struct mdd_object *o,
-                      struct lu_attr *attr,
-                      struct dt_allocation_hint *hint,
-                      struct dt_object_format *dof,
-                      struct thandle *handle)
+mdo_declare_create_object(const struct lu_env *env, struct mdd_object *obj,
+                         struct lu_attr *attr, struct dt_allocation_hint *hint,
+                         struct dt_object_format *dof, struct thandle *handle)
 {
-       struct dt_object *next = mdd_object_child(o);
+       struct dt_object *next = mdd_object_child(obj);
        return dt_declare_create(env, next, attr, hint, dof, handle);
 }
 
 static inline int
-mdo_create_obj(const struct lu_env *env, struct mdd_object *o,
-              struct lu_attr *attr,
-              struct dt_allocation_hint *hint,
-              struct dt_object_format *dof,
-              struct thandle *handle)
+mdo_create_object(const struct lu_env *env, struct mdd_object *obj,
+                 struct lu_attr *attr, struct dt_allocation_hint *hint,
+                 struct dt_object_format *dof, struct thandle *handle)
 {
-       struct dt_object *next = mdd_object_child(o);
+       struct dt_object *next = mdd_object_child(obj);
        return dt_create(env, next, attr, hint, dof, handle);
 }