From: adilger Date: Thu, 26 May 2005 23:33:14 +0000 (+0000) Subject: Branch b1_4 X-Git-Tag: v1_7_100~1^25~8^2~92 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=76ffa7ad9f66dc61999bd28483861afc57a04fcd;p=fs%2Flustre-release.git Branch b1_4 Don't complain about llog padding record swabbing. --- diff --git a/lustre/obdclass/llog_swab.c b/lustre/obdclass/llog_swab.c index 25ee67f..10012bc 100644 --- a/lustre/obdclass/llog_swab.c +++ b/lustre/obdclass/llog_swab.c @@ -113,12 +113,12 @@ void lustre_swab_llog_rec(struct llog_rec_hdr *rec, struct llog_rec_tail *tail) case MDS_SETATTR_REC: { struct llog_setattr_rec *lsr = (struct llog_setattr_rec *)rec; - + __swab64s(&lsr->lsr_oid); __swab32s(&lsr->lsr_ogen); __swab32s(&lsr->lsr_uid); __swab32s(&lsr->lsr_gid); - + break; } @@ -153,6 +153,7 @@ void lustre_swab_llog_rec(struct llog_rec_hdr *rec, struct llog_rec_tail *tail) break; } + case LLOG_PAD_MAGIC: /* ignore old pad records of type 0 */ case 0: break;