summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-05-25 10:54:49 +0400
committerSteve French <smfrench@gmail.com>2012-07-24 10:25:03 -0500
commit58c45c58a1cbc8d2e1d07839820bf745fb3e7f41 (patch)
tree1952b449f17ef2f544fdb88240149c927bd0fc5c /fs/cifs/smb1ops.c
parent286170aa241819f39d9d1d5d9f2434cfb8519506 (diff)
downloadlinux-58c45c58a1cbc8d2e1d07839820bf745fb3e7f41.tar.gz
linux-58c45c58a1cbc8d2e1d07839820bf745fb3e7f41.tar.bz2
linux-58c45c58a1cbc8d2e1d07839820bf745fb3e7f41.zip
CIFS: Move protocol specific session setup/logoff code to ops struct
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 ea4fb8aaaafb..6b0a5d616338 100644
--- a/fs/cifs/smb1ops.c
+++ b/fs/cifs/smb1ops.c
@@ -430,6 +430,8 @@ struct smb_version_operations smb1_operations = {
.check_trans2 = cifs_check_trans2,
.need_neg = cifs_need_neg,
.negotiate = cifs_negotiate,
+ .sess_setup = CIFS_SessSetup,
+ .logoff = CIFSSMBLogoff,
};
struct smb_version_values smb1_values = {