]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit26c9cb668c7fbf9830516b75d8bee70b699ed449
tree0620b803338e7c648c776865c0dad919d574f53f
parentc610c4b619e53494d9c512fa0333e28c732e976f
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