regression: cifs endianness bug
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 5 Dec 2007 08:24:38 +0000 (08:24 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:25:19 +0000 (09:25 -0800)
commit9b5e6857b3f3acc8ab434e565b7ec87bf9f9b53c
treee4acfece76f0a6de5a34b89703ccbd02551b4688
parentecaf18c15aac8bb9bed7b7aa0e382fe252e275d5
regression: cifs endianness bug

access_flags_to_mode() gets on-the-wire data (little-endian) and treats
it as host-endian.

Introduced in commit e01b64001359034d04c695388870936ed3d1b56b ("[CIFS]
enable get mode from ACL when cifsacl mount option specified")

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/cifs/cifsacl.c