From ccc863a635f94de859df71e1dd926689189120ed Mon Sep 17 00:00:00 2001 From: wangdi Date: Mon, 23 Oct 2006 09:11:02 +0000 Subject: [PATCH] Branch: b_new_cmd fix typo here, we should use BE for rec in iam --- lustre/osd/osd_oi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /* -- 1.8.3.1