Whamcloud - gitweb
LU-10752 build: properly package lsvcgss for rpm builds
[fs/lustre-release.git] / lustre / mdt / mdt_hsm.c
index bbd3b48..e870268 100644 (file)
 int mdt_hsm_attr_set(struct mdt_thread_info *info, struct mdt_object *obj,
                     const struct md_hsm *mh)
 {
-       struct md_object        *next = mdt_object_child(obj);
-       struct lu_buf           *buf = &info->mti_buf;
-       struct hsm_attrs        *attrs;
-       int                      rc;
+       struct md_object *next = mdt_object_child(obj);
+       struct lu_buf *buf = &info->mti_buf;
+       struct hsm_attrs *attrs;
+       int rc;
        ENTRY;
 
        attrs = (struct hsm_attrs *)info->mti_xattr_buf;
@@ -138,7 +138,7 @@ int mdt_hsm_progress(struct tgt_session_info *tsi)
        if (!mdt_hsm_is_admin(info))
                GOTO(out, rc = -EPERM);
 
-       rc = mdt_hsm_coordinator_update(info, hpk);
+       rc = mdt_hsm_update_request_state(info, hpk);
 out:
        mdt_thread_info_fini(info);
        RETURN(rc);
@@ -462,7 +462,7 @@ out:
 }
 
 /* Return true if a FID is present in an action list. */
-static bool is_fid_in_hal(struct hsm_action_list *hal, const lustre_fid *fid)
+static bool is_fid_in_hal(struct hsm_action_list *hal, const struct lu_fid *fid)
 {
        struct hsm_action_item *hai;
        int i;