From: huanghua Date: Wed, 1 Apr 2009 14:39:22 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_167~45 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d7b64514067e47cce570e75c2dbc923b14fe9c5c;p=fs%2Flustre-release.git Branch HEAD b=18796 i=tappro i=vladimir.saveliev correct error handling. --- diff --git a/lustre/ptlrpc/llog_client.c b/lustre/ptlrpc/llog_client.c index 2dfd086..bded4c3 100644 --- a/lustre/ptlrpc/llog_client.c +++ b/lustre/ptlrpc/llog_client.c @@ -113,6 +113,7 @@ static int llog_client_create(struct llog_ctxt *ctxt, struct llog_handle **res, LLOG_ORIGIN_HANDLE_CREATE); if (rc) { ptlrpc_request_free(req); + req = NULL; GOTO(err_free, rc); } ptlrpc_request_set_replen(req);