Whamcloud - gitweb
LU-4629 osc: remove constant checks
[fs/lustre-release.git] / lustre / mgc / libmgc.c
index bcc3617..ec915c7 100644 (file)
@@ -158,6 +158,9 @@ struct obd_ops mgc_obd_ops = {
 
 int __init mgc_init(void)
 {
-        return class_register_type(&mgc_obd_ops, NULL,
-                                   NULL, LUSTRE_MGC_NAME, NULL);
+       return class_register_type(&mgc_obd_ops, NULL, true, NULL,
+#ifndef HAVE_ONLY_PROCFS_SEQ
+                                  NULL,
+#endif
+                                  LUSTRE_MGC_NAME, NULL);
 }