Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d9ef7
)
Branch b1_4
author
adilger
<adilger>
Thu, 26 May 2005 23:33:14 +0000
(23:33 +0000)
committer
adilger
<adilger>
Thu, 26 May 2005 23:33:14 +0000
(23:33 +0000)
Don't complain about llog padding record swabbing.
lustre/obdclass/llog_swab.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/llog_swab.c
b/lustre/obdclass/llog_swab.c
index
25ee67f
..
10012bc
100644
(file)
--- 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;