From 76ffa7ad9f66dc61999bd28483861afc57a04fcd Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 26 May 2005 23:33:14 +0000 Subject: [PATCH] Branch b1_4 Don't complain about llog padding record swabbing. --- lustre/obdclass/llog_swab.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 1.8.3.1