From: Christoph Hellwig Date: Thu, 23 Jun 2005 07:10:19 +0000 (-0700) Subject: [PATCH] acl endianess annotations X-Git-Tag: Ubuntu-goldfish-3.4.0-4.27~40227^2~19 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f9fd27a253d5e0b23531d12ce7ad15b6535d4486;p=mirror_ubuntu-zesty-kernel.git [PATCH] acl endianess annotations Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/posix_acl_xattr.h b/include/linux/posix_acl_xattr.h index 5efd0a6dad94..fe271c1947b2 100644 --- a/include/linux/posix_acl_xattr.h +++ b/include/linux/posix_acl_xattr.h @@ -23,13 +23,13 @@ #define ACL_UNDEFINED_ID (-1) typedef struct { - __u16 e_tag; - __u16 e_perm; - __u32 e_id; + __le16 e_tag; + __le16 e_perm; + __le32 e_id; } posix_acl_xattr_entry; typedef struct { - __u32 a_version; + __le32 a_version; posix_acl_xattr_entry a_entries[0]; } posix_acl_xattr_header;