Whamcloud - gitweb
LU-3336 lfsck: regenerate lost layout EA
[fs/lustre-release.git] / lustre / mgc / libmgc.c
index bcc3617..49a329a 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, NULL,
+#ifndef HAVE_ONLY_PROCFS_SEQ
+                                       NULL,
+#endif
+                                       LUSTRE_MGC_NAME, NULL);
 }