Whamcloud - gitweb
LU-3319 procfs: fix symlink handling
[fs/lustre-release.git] / lustre / mgc / mgc_request.c
index 8935814..7741bbf 100644 (file)
@@ -2022,11 +2022,11 @@ struct obd_ops mgc_obd_ops = {
 
 int __init mgc_init(void)
 {
-        return class_register_type(&mgc_obd_ops, NULL, NULL,
+       return class_register_type(&mgc_obd_ops, NULL, true, NULL,
 #ifndef HAVE_ONLY_PROCFS_SEQ
-                                       NULL,
+                                  NULL,
 #endif
-                                       LUSTRE_MGC_NAME, NULL);
+                                  LUSTRE_MGC_NAME, NULL);
 }
 
 #ifdef __KERNEL__