Skip to content
Snippets Groups Projects
Commit 5128674e authored by Eric Barton's avatar Eric Barton
Browse files

* Made echo_commitrw() pay attention to the final 'rc' parameter (bug 1450)

parent 5c040405
No related merge requests found
...@@ -392,7 +392,8 @@ int echo_commitrw(int cmd, struct obd_export *export, struct obdo *oa, ...@@ -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); LASSERT(oti == NULL || oti->oti_handle == (void *)DESC_PRIV);
for (i = 0; i < objcount; i++, obj++) { 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; int j;
for (j = 0 ; j < obj->ioo_bufcnt ; j++, r++) { for (j = 0 ; j < obj->ioo_bufcnt ; j++, r++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment