]> err.no Git - linux-2.6/commitdiff
[PATCH] acl endianess annotations
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jun 2005 07:10:19 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:33 +0000 (09:45 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/posix_acl_xattr.h

index 5efd0a6dad9490730260cf9d44fdb0ec216f855e..fe271c1947b205a0d070ef4d39b2b27da75e11d3 100644 (file)
 #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;