summaryrefslogtreecommitdiff
path: root/fs/cifs/smberr.h
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@cjr.nz>2022-03-21 19:08:25 +0300
committerSteve French <stfrench@microsoft.com>2022-03-23 23:20:14 +0300
commit351a59dace0e0e31795145acdec2660e3bc2a58d (patch)
treedc40b8f472dec34f31c33cf994a6c84ba5086cd8 /fs/cifs/smberr.h
parent8708b107604789dbb25057981919c7709828db16 (diff)
downloadlinux-351a59dace0e0e31795145acdec2660e3bc2a58d.tar.xz
cifs: fix bad fids sent over wire
The client used to partially convert the fids to le64, while storing or sending them by using host endianness. This broke the client on big-endian machines. Instead of converting them to le64, store them as opaque integers and then avoid byteswapping when sending them over wire. Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: Namjae Jeon <linkinjeon@kernel.org> Reviewed-by: Tom Talpey <tom@talpey.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smberr.h')
0 files changed, 0 insertions, 0 deletions