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:
cddf29c
)
Branch HEAD
author
tappro
<tappro>
Mon, 17 Aug 2009 06:20:35 +0000
(06:20 +0000)
committer
tappro
<tappro>
Mon, 17 Aug 2009 06:20:35 +0000
(06:20 +0000)
b=19844
i=shadow
i=deen
rc == 1 is not error, make rc checking like in 1.8
lustre/obdclass/llog_obd.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/llog_obd.c
b/lustre/obdclass/llog_obd.c
index
0f10503
..
8c7196f
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 < 0) || (!logcookies && rc)
)
+ if (
rc != 1
)
CERROR("write one catalog record failed: %d\n", rc);
RETURN(rc);
}