* No permission check is needed.
*
* returns 1: if fid is ancestor of @mo;
- * returns 0: if fid is not a ancestor of @mo;
+ * returns 0: if fid is not an ancestor of @mo;
*
* returns EREMOTE if remote object is found, fid of remote object is saved to
* @fid;
rc = mdd_changelog_store(env, mdd, rec, handle);
if (rc < 0) {
- CERROR("changelog failed: rc=%d, op%d %s c"DFID" p"DFID"\n",
- rc, type, tname->ln_name, PFID(sfid), PFID(tpfid));
+ CERROR("%s: cannot store changelog record: type = %d, "
+ "name = '%s', t = "DFID", p = "DFID": rc = %d\n",
+ mdd2obd_dev(mdd)->obd_name, type, tname->ln_name,
+ PFID(&rec->cr.cr_tfid), PFID(&rec->cr.cr_pfid), rc);
return -EFAULT;
}