From d7b64514067e47cce570e75c2dbc923b14fe9c5c Mon Sep 17 00:00:00 2001 From: huanghua Date: Wed, 1 Apr 2009 14:39:22 +0000 Subject: [PATCH] Branch HEAD b=18796 i=tappro i=vladimir.saveliev correct error handling. --- lustre/ptlrpc/llog_client.c | 1 + 1 file changed, 1 insertion(+) 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); -- 1.8.3.1