From: shadow Date: Fri, 24 Oct 2008 05:04:16 +0000 (+0000) Subject: Kill extra argument for llog_connect, and don't access to ld_tgt_count X-Git-Tag: v1_7_130~1^43 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=aa4a073400de3ccb2d9b0620bec2def4ed721de7;p=fs%2Flustre-release.git Kill extra argument for llog_connect, and don't access to ld_tgt_count without protection. Branch b1_8_gate b=16693 i=umka i=tappro --- diff --git a/lustre/ptlrpc/recov_thread.c b/lustre/ptlrpc/recov_thread.c index 5962e87..6eaadfb 100644 --- a/lustre/ptlrpc/recov_thread.c +++ b/lustre/ptlrpc/recov_thread.c @@ -492,7 +492,7 @@ static int llog_recov_thread_replay(struct llog_ctxt *ctxt, RETURN(rc); } -int llog_obd_repl_connect(struct llog_ctxt *ctxt, int count, +int llog_obd_repl_connect(struct llog_ctxt *ctxt, struct llog_logid *logid, struct llog_gen *gen, struct obd_uuid *uuid) {