lustre_swab_ll_fid(&lsc->lsc_fid);
__swab32s(&lsc->lsc_ioepoch);
-
break;
}
__swab64s(&lur->lur_oid);
__swab32s(&lur->lur_ogen);
-
break;
}
__swab32s(&lsr->lsr_ogen);
__swab32s(&lsr->lsr_uid);
__swab32s(&lsr->lsr_gid);
+ break;
+ }
+ case CHANGELOG_REC: {
+ struct llog_changelog_rec *cr = (struct llog_changelog_rec*)rec;
+
+ __swab16s(&cr->cr_flags);
+ __swab16s(&cr->cr_namelen);
+ __swab32s(&cr->cr_type);
+ __swab64s(&cr->cr_index);
+ __swab64s(&cr->cr_prev);
+ __swab64s(&cr->cr_time);
+ lustre_swab_lu_fid(&cr->cr_tfid);
+ lustre_swab_lu_fid(&cr->cr_pfid);
break;
}
}
case OBD_CFG_REC:
- case PTL_CFG_REC: /* obsolete */
/* these are swabbed as they are consumed */
break;
__swab32s(&llh->llh_tail.lrt_index);
__swab32s(&llh->llh_tail.lrt_len);
}
-
break;
}
}
case LLOG_JOIN_REC:
case LLOG_PAD_MAGIC:
- /* ignore old pad records of type 0 */
- case 0:
break;
default: