summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2011-12-27 16:04:00 +0400
committerPavel Shilovsky <pshilovsky@samba.org>2012-07-24 21:54:58 +0400
commitfaaf946a7d5b79194358437150f34ab4c66bfe21 (patch)
tree1bf4b4cab6abc39443a63e90cac771f9aaad0f52 /fs/cifs/smb2ops.c
parent5478f9ba9a34d660eb3227dcd16314689c51f946 (diff)
downloadblackbird-op-linux-faaf946a7d5b79194358437150f34ab4c66bfe21.tar.gz
blackbird-op-linux-faaf946a7d5b79194358437150f34ab4c66bfe21.zip
CIFS: Add tree connect/disconnect capability for SMB2
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
-rw-r--r--fs/cifs/smb2ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index 0057861ce19d..0e33ca32abf9 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -172,6 +172,8 @@ struct smb_version_operations smb21_operations = {
.negotiate = smb2_negotiate,
.sess_setup = SMB2_sess_setup,
.logoff = SMB2_logoff,
+ .tree_connect = SMB2_tcon,
+ .tree_disconnect = SMB2_tdis,
};
struct smb_version_values smb21_values = {
OpenPOWER on IntegriCloud