Whamcloud - gitweb
LU-1518 mdd: Revert "Fixup mdd_{obf,dot_lustre}_obj_ops."
[fs/lustre-release.git] / lustre / mdd / mdd_object.c
index a8dbadb..ccea39b 100644 (file)
@@ -851,8 +851,8 @@ int mdd_attr_get_internal_locked(const struct lu_env *env,
 /*
  * No permission check is needed.
  */
-int mdd_attr_get(const struct lu_env *env, struct md_object *obj,
-                 struct md_attr *ma)
+static int mdd_attr_get(const struct lu_env *env, struct md_object *obj,
+                        struct md_attr *ma)
 {
         struct mdd_object *mdd_obj = md2mdd_obj(obj);
         int                rc;
@@ -1633,8 +1633,8 @@ static int mdd_declare_attr_set(const struct lu_env *env,
 }
 
 /* set attr and LOV EA at once, return updated attr */
-int mdd_attr_set(const struct lu_env *env, struct md_object *obj,
-                 const struct md_attr *ma)
+static int mdd_attr_set(const struct lu_env *env, struct md_object *obj,
+                        const struct md_attr *ma)
 {
         struct mdd_object *mdd_obj = md2mdd_obj(obj);
         struct mdd_device *mdd = mdo2mdd(obj);