Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e4200
)
Branch HEAD
author
huanghua
<huanghua>
Wed, 1 Apr 2009 14:39:22 +0000
(14:39 +0000)
committer
huanghua
<huanghua>
Wed, 1 Apr 2009 14:39:22 +0000
(14:39 +0000)
b=18796
i=tappro
i=vladimir.saveliev
correct error handling.
lustre/ptlrpc/llog_client.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/llog_client.c
b/lustre/ptlrpc/llog_client.c
index
2dfd086
..
bded4c3
100644
(file)
--- 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);