Whamcloud - gitweb
LU-1302 llog: modify llog_write/llog_add to support OSD
[fs/lustre-release.git] / lustre / ptlrpc / llog_net.c
index 679f99f..9db6799 100644 (file)
@@ -95,7 +95,7 @@ int llog_origin_connect(struct llog_ctxt *ctxt,
         }
 
         lgr->lgr_gen = ctxt->loc_gen;
-       rc = llog_add(NULL, ctxt, &lgr->lgr_hdr, NULL, NULL, 1);
+       rc = llog_obd_add(NULL, ctxt, &lgr->lgr_hdr, NULL, NULL, 1);
         OBD_FREE_PTR(lgr);
         rc1 = fsfilt_commit(ctxt->loc_exp->exp_obd, inode, handle, 0);
         if (rc != 1 || rc1 != 0) {