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:
7a3bf9e
)
b=14340
author
pravins
<pravins>
Tue, 13 May 2008 05:13:53 +0000
(
05:13
+0000)
committer
pravins
<pravins>
Tue, 13 May 2008 05:13:53 +0000
(
05:13
+0000)
i=h.huang
i=nikita.danilov
lu_dirent structure was inconsistent after lu_dirent->lde_hash
element extension to 64 bit change patch.
size of structure is different on 32 and 64 bit platform.
patch fixes that bug.
lustre/include/lustre/lustre_idl.h
patch
|
blob
|
history
diff --git
a/lustre/include/lustre/lustre_idl.h
b/lustre/include/lustre/lustre_idl.h
index
f8061b9
..
72c1999
100644
(file)
--- a/
lustre/include/lustre/lustre_idl.h
+++ b/
lustre/include/lustre/lustre_idl.h
@@
-354,6
+354,7
@@
struct lu_dirent {
__u64 lde_hash;
__u16 lde_reclen;
__u16 lde_namelen;
+ __u32 lde_pad0;
char lde_name[0];
};
@@
-361,6
+362,7
@@
struct lu_dirpage {
__u64 ldp_hash_start;
__u64 ldp_hash_end;
__u16 ldp_flags;
+ __u16 ldp_pad;
__u32 ldp_pad0;
struct lu_dirent ldp_entries[0];
};