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:
b094a4a
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Mon, 23 Oct 2006 09:11:02 +0000
(09:11 +0000)
committer
wangdi
<wangdi>
Mon, 23 Oct 2006 09:11:02 +0000
(09:11 +0000)
fix typo here, we should use BE for rec in iam
lustre/osd/osd_oi.c
patch
|
blob
|
history
diff --git
a/lustre/osd/osd_oi.c
b/lustre/osd/osd_oi.c
index
0494c3b
..
0d7e4d7
100644
(file)
--- 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);
}
/*