Whamcloud - gitweb
parallel llog init
[fs/lustre-release.git] / lustre / obdfilter / filter.c
index 34518f3..2912dc3 100644 (file)
@@ -2041,7 +2041,7 @@ int filter_common_setup(struct obd_device *obd, struct lustre_cfg* lcfg,
         ptlrpc_init_client(LDLM_CB_REQUEST_PORTAL, LDLM_CB_REPLY_PORTAL,
                            "filter_ldlm_cb_client", &obd->obd_ldlm_client);
 
-        rc = llog_cat_initialize(obd, &obd->obd_olg, 1, NULL);
+        rc = obd_llog_init(obd, &obd->obd_olg, obd, 1, NULL, NULL);
         if (rc) {
                 CERROR("failed to setup llogging subsystems\n");
                 GOTO(err_post, rc);