summaryrefslogtreecommitdiff
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-05-25 11:11:39 +0400
committerSteve French <smfrench@gmail.com>2012-07-24 10:25:06 -0500
commit2e6e02ab6ddbd539fd7e092973daf057adbd53dc (patch)
tree124ff8e0a300962e01c07a3cf9d8e660d404dec0 /fs/cifs/smb1ops.c
parent58c45c58a1cbc8d2e1d07839820bf745fb3e7f41 (diff)
downloadlwn-2e6e02ab6ddbd539fd7e092973daf057adbd53dc.tar.gz
lwn-2e6e02ab6ddbd539fd7e092973daf057adbd53dc.zip
CIFS: Move protocol specific tcon/tdis code to ops struct
and rename variables around the code changes. Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb1ops.c')
-rw-r--r--fs/cifs/smb1ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c
index 6b0a5d616338..728595f096c9 100644
--- a/fs/cifs/smb1ops.c
+++ b/fs/cifs/smb1ops.c
@@ -432,6 +432,8 @@ struct smb_version_operations smb1_operations = {
.negotiate = cifs_negotiate,
.sess_setup = CIFS_SessSetup,
.logoff = CIFSSMBLogoff,
+ .tree_connect = CIFSTCon,
+ .tree_disconnect = CIFSSMBTDis,
};
struct smb_version_values smb1_values = {