Whamcloud - gitweb
LU-8066 obdclass: don't copy ops structures in to new type.
[fs/lustre-release.git] / lustre / mdt / mdt_mds.c
index d7408b1..5699c40 100644 (file)
@@ -677,7 +677,7 @@ static int mds_health_check(const struct lu_env *env, struct obd_device *obd)
        return rc != 0 ? 1 : 0;
 }
 
-static struct obd_ops mds_obd_device_ops = {
+static const struct obd_ops mds_obd_device_ops = {
        .o_owner           = THIS_MODULE,
        .o_health_check    = mds_health_check,
 };