Whamcloud - gitweb
LU-8079 llog: Remove llog_cat_init_and_process
[fs/lustre-release.git] / lustre / osp / osp_sync.c
index d7520f3..2c74443 100644 (file)
@@ -1313,7 +1313,7 @@ static int osp_sync_llog_init(const struct lu_env *env, struct osp_device *d)
        LASSERT(lgh != NULL);
        ctxt->loc_handle = lgh;
 
-       rc = llog_cat_init_and_process(env, lgh);
+       rc = llog_init_handle(env, lgh, LLOG_F_IS_CAT, NULL);
        if (rc)
                GOTO(out_close, rc);