Whamcloud - gitweb
LU-6142 ldlm: remove ldlm typedef usage from code
[fs/lustre-release.git] / lustre / ofd / ofd_obd.c
index cb7a2e9..24848f6 100644 (file)
@@ -967,14 +967,12 @@ out:
 int ofd_destroy_by_fid(const struct lu_env *env, struct ofd_device *ofd,
                       const struct lu_fid *fid, int orphan)
 {
-       struct ofd_thread_info  *info = ofd_info(env);
-       struct lustre_handle     lockh;
-       __u64                    flags = LDLM_FL_AST_DISCARD_DATA;
-       __u64                    rc = 0;
-       ldlm_policy_data_t       policy = {
-                                       .l_extent = { 0, OBD_OBJECT_EOF }
-                                };
-       struct ofd_object       *fo;
+       struct ofd_thread_info *info = ofd_info(env);
+       struct lustre_handle lockh;
+       union ldlm_policy_data policy = { .l_extent = { 0, OBD_OBJECT_EOF } };
+       struct ofd_object *fo;
+       __u64 flags = LDLM_FL_AST_DISCARD_DATA;
+       __u64 rc = 0;
 
        ENTRY;