Whamcloud - gitweb
LU-6142 lustre: Make dev/body/type operations const
[fs/lustre-release.git] / lustre / mdt / mdt_mds.c
index 025c0da..9311d72 100644 (file)
@@ -638,7 +638,7 @@ static struct lu_device *mds_device_alloc(const struct lu_env *env,
 /* type constructor/destructor: mdt_type_init, mdt_type_fini */
 LU_TYPE_INIT_FINI(mds, &mdt_thread_key);
 
-static struct lu_device_type_operations mds_device_type_ops = {
+static const struct lu_device_type_operations mds_device_type_ops = {
        .ldto_init = mds_type_init,
        .ldto_fini = mds_type_fini,