setcifsacl: fix up endianness conversions
authorJeff Layton <jlayton@samba.org>
Wed, 7 Nov 2012 15:19:16 +0000 (10:19 -0500)
committerJeff Layton <jlayton@samba.org>
Wed, 7 Nov 2012 15:19:16 +0000 (10:19 -0500)
commitb07c3d72ff27e1818e3c1a38466d027d04a54e04
tree6a3af3b3293a51c821cac63a8566484a083db11d
parent47400ee5dcdda7e7b77b536f4befb5c04c1c5144
setcifsacl: fix up endianness conversions

Don't use htole32 when you really want le32toh. Also, when copying or
comparing ACEs, it's incorrect to convert the endianness of these
fields. Let's just keep things simple and declare that multibyte fields
in all of these structs are always kept in little-endian.

Signed-off-by: Jeff Layton <jlayton@samba.org>
setcifsacl.c