Skip to content
Commit 9b5e6857 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

regression: cifs endianness bug

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

Introduced in commit e01b6400

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

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ecaf18c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment