- /* converting local store cookie for both ids to remote lustre_id. */
- rc = mds_read_mid(cmobd->cache_exp->exp_obd, &rec->lk_id1,
- &rec->lk_id1, sizeof(rec->lk_id1));
- if (rc) {
- CERROR("Can't read master MDS store cookie "
- "from local inode EA, err = %d.\n", rc);
- RETURN(rc);
- }
-
- rc = mds_read_mid(cmobd->cache_exp->exp_obd, &rec->lk_id2,
- &rec->lk_id2, sizeof(rec->lk_id2));
- if (rc) {
- CERROR("Can't read master MDS store cookie "
- "from local inode EA, err = %d.\n", rc);
- RETURN(rc);
- }
-