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-2444 build: fix 'error handling' issues
[fs/lustre-release.git]
/
lustre
/
mgs
/
mgs_llog.c
diff --git
a/lustre/mgs/mgs_llog.c
b/lustre/mgs/mgs_llog.c
index
cf43a4b
..
32c5e03
100644
(file)
--- a/
lustre/mgs/mgs_llog.c
+++ b/
lustre/mgs/mgs_llog.c
@@
-1480,7
+1480,7
@@
static int mgs_log_is_empty(const struct lu_env *env,
GOTO(out_ctxt, rc);
}
GOTO(out_ctxt, rc);
}
- llog_init_handle(env, llh, LLOG_F_IS_PLAIN, NULL);
+
rc =
llog_init_handle(env, llh, LLOG_F_IS_PLAIN, NULL);
if (rc)
GOTO(out_close, rc);
rc = llog_get_size(llh);
if (rc)
GOTO(out_close, rc);
rc = llog_get_size(llh);