Whamcloud - gitweb
LU-3828 mdt: hsm tunable can be set permanently
[fs/lustre-release.git] / lustre / mdt / mdt_hsm_cdt_client.c
index 285818b..ac8da87 100644 (file)
@@ -363,7 +363,7 @@ int mdt_hsm_add_actions(struct mdt_thread_info *mti,
                        if (mh.mh_arch_id != 0)
                                archive_id = mh.mh_arch_id;
                        else
-                               archive_id = cdt->cdt_archive_id;
+                               archive_id = cdt->cdt_default_archive_id;
                }
 
                /* if restore, take an exclusive lock on layout */