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);
}
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