Whamcloud - gitweb
LU-9816 kernel: kernel upgrade RHEL7.4 [3.10.0-693.el7]
[fs/lustre-release.git] / lustre / lod / lod_qos.c
index 81122e9..cb3ac44 100644 (file)
@@ -39,7 +39,7 @@
 
 #include <asm/div64.h>
 #include <libcfs/libcfs.h>
-#include <lustre/lustre_idl.h>
+#include <uapi/linux/lustre/lustre_idl.h>
 #include <lustre_swab.h>
 #include <obd_class.h>
 
@@ -714,7 +714,7 @@ static struct dt_object *lod_qos_declare_object_on(const struct lu_env *env,
 
        dt = container_of(n, struct dt_object, do_lu);
 
-       rc = lod_sub_object_declare_create(env, dt, NULL, NULL, NULL, th);
+       rc = lod_sub_declare_create(env, dt, NULL, NULL, NULL, th);
        if (rc < 0) {
                CDEBUG(D_OTHER, "can't declare creation on #%u: %d\n",
                       ost_idx, rc);
@@ -2111,8 +2111,8 @@ int lod_qos_prep_create(const struct lu_env *env, struct lod_object *lo,
                        o = lod_comp->llc_stripe[i];
                        LASSERT(o);
 
-                       rc = lod_sub_object_declare_create(env, o, attr, NULL,
-                                                          NULL, th);
+                       rc = lod_sub_declare_create(env, o, attr, NULL,
+                                                   NULL, th);
                        if (rc < 0) {
                                CERROR("can't declare create: %d\n", rc);
                                break;