From: eeb Date: Mon, 8 Mar 2004 17:46:43 +0000 (+0000) Subject: * Made echo_commitrw() pay attention to the final 'rc' parameter (bug 1450) X-Git-Tag: 1.2.1~1 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5128674ee7133379e5bf9d3f21efb318dfc1dddb;p=fs%2Flustre-release.git * Made echo_commitrw() pay attention to the final 'rc' parameter (bug 1450) --- diff --git a/lustre/obdecho/echo.c b/lustre/obdecho/echo.c index 093f3ac..9248472 100644 --- 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++) {