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:
96534b5
)
Branch b1_8_gate
author
huanghua
<huanghua>
Fri, 11 Jul 2008 05:22:27 +0000
(
05:22
+0000)
committer
huanghua
<huanghua>
Fri, 11 Jul 2008 05:22:27 +0000
(
05:22
+0000)
b=11930
i=adilger
i=nikita.danilov
i=alex
lustre/obdclass/llog_swab.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/llog_swab.c
b/lustre/obdclass/llog_swab.c
index
4f45df0
..
af9809b
100644
(file)
--- a/
lustre/obdclass/llog_swab.c
+++ b/
lustre/obdclass/llog_swab.c
@@
-85,6
+85,14
@@
void lustre_swab_ll_fid(struct ll_fid *fid)
}
EXPORT_SYMBOL(lustre_swab_ll_fid);
+void lustre_swab_lu_fid(struct lu_fid *fid)
+{
+ __swab64s(&fid->f_seq);
+ __swab32s(&fid->f_oid);
+ __swab32s(&fid->f_ver);
+}
+EXPORT_SYMBOL(lustre_swab_lu_fid);
+
void lustre_swab_llog_rec(struct llog_rec_hdr *rec, struct llog_rec_tail *tail)
{
__swab32s(&rec->lrh_len);