Whamcloud - gitweb
LU-9859 libcfs: refactor libcfs initialization.
[fs/lustre-release.git] / lustre / lfsck / lfsck_lib.c
index 4126509..7617aa4 100644 (file)
@@ -3964,6 +3964,10 @@ static int __init lfsck_init(void)
 {
        int rc;
 
+       rc = libcfs_setup();
+       if (rc)
+               return rc;
+
        lfsck_key_init_generic(&lfsck_thread_key, NULL);
        rc = lu_context_key_register(&lfsck_thread_key);
        if (!rc) {