CIFS: set signing flag in SMB2+ TreeConnect if needed
authorAurelien Aptel <aaptel@suse.com>
Mon, 13 Feb 2017 15:19:04 +0000 (16:19 +0100)
committerSteve French <smfrench@gmail.com>
Thu, 2 Mar 2017 04:26:11 +0000 (22:26 -0600)
commitb9043cc5b99e9c93596a28647fd9f526f5bfa22c
tree3fc233fee754089bf80c8944f0c46880f8c046ee
parent7f9f6d2ec51449a20bc35359c9e190bf861b57e1
CIFS: set signing flag in SMB2+ TreeConnect if needed

cifs_enable_signing() already sets server->sign according to what the
server requires/offers and what mount options allows/forbids, so use
that.

this is required for IPC tcon that connects to signing-required servers.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Acked-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2pdu.c