From: wangdi Date: Mon, 23 Oct 2006 09:11:02 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~386 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=ccc863a635f94de859df71e1dd926689189120ed;p=fs%2Flustre-release.git Branch: b_new_cmd fix typo here, we should use BE for rec in iam --- diff --git a/lustre/osd/osd_oi.c b/lustre/osd/osd_oi.c index 0494c3b..0d7e4d7 100644 --- a/lustre/osd/osd_oi.c +++ b/lustre/osd/osd_oi.c @@ -145,8 +145,8 @@ enum { static inline void osd_inode_id_init(struct osd_inode_id *id, __u64 ino, __u32 gen) { - id->oii_ino = be64_to_cpu(ino); - id->oii_gen = be32_to_cpu(gen); + id->oii_ino = cpu_to_be64(ino); + id->oii_gen = cpu_to_be32(gen); } /*