Whamcloud - gitweb
LU-4528 llog: don't write llog in 3-steps
[fs/lustre-release.git] / lustre / mdd / mdd_dir.c
index f593270..98e4e28 100644 (file)
@@ -723,7 +723,7 @@ int mdd_changelog_store(const struct lu_env *env, struct mdd_device *mdd,
        if (ctxt == NULL)
                return -ENXIO;
 
-       rc = llog_add(env, ctxt->loc_handle, &rec->cr_hdr, NULL, NULL, th);
+       rc = llog_add(env, ctxt->loc_handle, &rec->cr_hdr, NULL, th);
        llog_ctxt_put(ctxt);
        if (rc > 0)
                rc = 0;
@@ -762,7 +762,7 @@ mdd_changelog_ext_store(const struct lu_env *env, struct mdd_device *mdd,
                return -ENXIO;
 
        /* nested journal transaction */
-       rc = llog_add(env, ctxt->loc_handle, &rec->cr_hdr, NULL, NULL, th);
+       rc = llog_add(env, ctxt->loc_handle, &rec->cr_hdr, NULL, th);
        llog_ctxt_put(ctxt);
        if (rc > 0)
                rc = 0;