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:
5c04040
)
* Made echo_commitrw() pay attention to the final 'rc' parameter (bug 1450)
author
eeb
<eeb>
Mon, 8 Mar 2004 17:46:43 +0000
(17:46 +0000)
committer
eeb
<eeb>
Mon, 8 Mar 2004 17:46:43 +0000
(17:46 +0000)
lustre/obdecho/echo.c
patch
|
blob
|
history
diff --git
a/lustre/obdecho/echo.c
b/lustre/obdecho/echo.c
index
093f3ac
..
9248472
100644
(file)
--- a/
lustre/obdecho/echo.c
+++ b/
lustre/obdecho/echo.c
@@
-392,7
+392,8
@@
int echo_commitrw(int cmd, struct obd_export *export, struct obdo *oa,
LASSERT(oti == NULL || oti->oti_handle == (void *)DESC_PRIV);
for (i = 0; i < objcount; i++, obj++) {
- int verify = obj->ioo_id != ECHO_PERSISTENT_OBJID;
+ int verify = (rc == 0 &&
+ obj->ioo_id != ECHO_PERSISTENT_OBJID);
int j;
for (j = 0 ; j < obj->ioo_bufcnt ; j++, r++) {