Set unicode flag on cifs echo request to avoid Mac error
authorSteve French <smfrench@gmail.com>
Tue, 2 May 2017 18:35:20 +0000 (13:35 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 26 Aug 2017 01:14:05 +0000 (02:14 +0100)
commitc5de619ea4ec388a580426d9bbd5e29fed5cd0b3
treeefee5e8726fb9eb76695d8e5a5de7a084bec26cb
parent67a70eac6d81ee5a7473e11cae464c89783af725
Set unicode flag on cifs echo request to avoid Mac error

commit 26c9cb668c7fbf9830516b75d8bee70b699ed449 upstream.

Mac requires the unicode flag to be set for cifs, even for the smb
echo request (which doesn't have strings).

Without this Mac rejects the periodic echo requests (when mounting
with cifs) that we use to check if server is down

Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/cifs/cifssmb.c