]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerSteve French <smfrench@gmail.com>
Tue, 2 May 2017 19:57:34 +0000 (14:57 -0500)
commitb8df619c8775460ab2b247c89c93b74199fc230c
tree0620b803338e7c648c776865c0dad919d574f53f
parent1972de94f69f0ee9f863727d59733f2320fe2b63
Set unicode flag on cifs echo request to avoid Mac error

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>
CC: Stable <stable@vger.kernel.org>
fs/cifs/cifssmb.c