Whamcloud - gitweb
LU-3319 procfs: fix symlink handling
[fs/lustre-release.git] / lustre / mgs / mgs_handler.c
index 8961fc3..85b219c 100644 (file)
@@ -1516,11 +1516,11 @@ static int __init mgs_init(void)
        struct lprocfs_static_vars lvars;
 
        lprocfs_mgs_init_vars(&lvars);
-       return class_register_type(&mgs_obd_device_ops, NULL, NULL,
+       return class_register_type(&mgs_obd_device_ops, NULL, true, NULL,
 #ifndef HAVE_ONLY_PROCFS_SEQ
-                                       lvars.module_vars,
+                                  lvars.module_vars,
 #endif
-                                       LUSTRE_MGS_NAME, &mgs_device_type);
+                                  LUSTRE_MGS_NAME, &mgs_device_type);
 }
 
 static void /*__exit*/ mgs_exit(void)