Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=18364
[fs/lustre-release.git]
/
lustre
/
obdclass
/
llog_swab.c
diff --git
a/lustre/obdclass/llog_swab.c
b/lustre/obdclass/llog_swab.c
index
4ccb6ba
..
a6a430d
100644
(file)
--- a/
lustre/obdclass/llog_swab.c
+++ b/
lustre/obdclass/llog_swab.c
@@
-166,6
+166,15
@@
void lustre_swab_llog_rec(struct llog_rec_hdr *rec, struct llog_rec_tail *tail)
break;
}
break;
}
+ case CHANGELOG_USER_REC: {
+ struct llog_changelog_user_rec *cur =
+ (struct llog_changelog_user_rec*)rec;
+
+ __swab32s(&cur->cur_id);
+ __swab64s(&cur->cur_endrec);
+ break;
+ }
+
case MDS_SETATTR64_REC: {
struct llog_setattr64_rec *lsr = (struct llog_setattr64_rec *)rec;
case MDS_SETATTR64_REC: {
struct llog_setattr64_rec *lsr = (struct llog_setattr64_rec *)rec;