Whamcloud - gitweb
LU-3319 procfs: fix symlink handling
[fs/lustre-release.git] / lustre / obdecho / echo_client.c
index 1dc8e63..98fb3e0 100644 (file)
@@ -3173,12 +3173,12 @@ int echo_client_init(void)
 
        rc = lu_kmem_init(echo_caches);
        if (rc == 0) {
-               rc = class_register_type(&echo_client_obd_ops, NULL, NULL,
+               rc = class_register_type(&echo_client_obd_ops, NULL, true, NULL,
 #ifndef HAVE_ONLY_PROCFS_SEQ
-                                       NULL,
+                                        NULL,
 #endif
-                                       LUSTRE_ECHO_CLIENT_NAME,
-                                       &echo_device_type);
+                                        LUSTRE_ECHO_CLIENT_NAME,
+                                        &echo_device_type);
                if (rc)
                        lu_kmem_fini(echo_caches);
        }
@@ -3206,7 +3206,7 @@ static int __init obdecho_init(void)
         if (rc != 0)
                 goto failed_0;
 
-       rc = class_register_type(&echo_obd_ops, NULL, NULL,
+       rc = class_register_type(&echo_obd_ops, NULL, true, NULL,
 #ifndef HAVE_ONLY_PROCFS_SEQ
                                NULL,
 #endif