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
b=19906
[fs/lustre-release.git]
/
lustre
/
obdclass
/
llog_obd.c
diff --git
a/lustre/obdclass/llog_obd.c
b/lustre/obdclass/llog_obd.c
index
8c7196f
..
c0fb21b
100644
(file)
--- a/
lustre/obdclass/llog_obd.c
+++ b/
lustre/obdclass/llog_obd.c
@@
-444,7
+444,7
@@
int llog_obd_origin_add(struct llog_ctxt *ctxt,
cathandle = ctxt->loc_handle;
LASSERT(cathandle != NULL);
rc = llog_cat_add_rec(cathandle, rec, logcookies, NULL);
- if (rc != 1)
+ if (rc !=
0 && rc !=
1)
CERROR("write one catalog record failed: %d\n", rc);
RETURN(rc);
}