From: huanghua Date: Fri, 11 Jul 2008 05:22:27 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_0_51~2^77 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d46a96822313707323f9a1446bbbf381ef451b93;p=fs%2Flustre-release.git Branch b1_8_gate b=11930 i=adilger i=nikita.danilov i=alex --- diff --git a/lustre/obdclass/llog_swab.c b/lustre/obdclass/llog_swab.c index 4f45df0..af9809b 100644 --- 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);