Whamcloud - gitweb
LU-14651 llite: extend inode methods with user namespace arg
[fs/lustre-release.git] / lustre / mdd / mdd_lock.c
index 97d8870..b8e6598 100644 (file)
@@ -27,7 +27,6 @@
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  *
  * lustre/mdd/mdd_lock.c
  *
 #define DEBUG_SUBSYSTEM S_MDS
 
 #include <linux/module.h>
-#include <lustre_ver.h>
 #include "mdd_internal.h"
 
 void mdd_write_lock(const struct lu_env *env, struct mdd_object *obj,
-                   enum mdd_object_role role)
+                   enum dt_object_role role)
 {
        struct dt_object *next = mdd_object_child(obj);
 
@@ -51,7 +49,7 @@ void mdd_write_lock(const struct lu_env *env, struct mdd_object *obj,
 }
 
 void mdd_read_lock(const struct lu_env *env, struct mdd_object *obj,
-                  enum mdd_object_role role)
+                  enum dt_object_role role)
 {
        struct dt_object *next = mdd_object_child(obj);