From: pravins Date: Tue, 13 May 2008 05:13:53 +0000 (+0000) Subject: b=14340 X-Git-Tag: v1_9_50~503 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=d85cb89ebae36cc5f6556d710e3e624a3fc604d6;hp=7a3bf9e15dd53db6b4564a1e660e0d7584b487fc b=14340 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. --- diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index f8061b9..72c1999 100644 --- 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]; };