Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-980 llog: cleanup return value in llog_client_create
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
llog_client.c
diff --git
a/lustre/ptlrpc/llog_client.c
b/lustre/ptlrpc/llog_client.c
index
4305375
..
0a5bb91
100644
(file)
--- a/
lustre/ptlrpc/llog_client.c
+++ b/
lustre/ptlrpc/llog_client.c
@@
-147,6
+147,7
@@
out:
ptlrpc_req_finished(req);
return rc;
err_free:
+ *res = NULL;
llog_free_handle(handle);
goto out;
}