diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-25 08:54:49 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-07-24 17:25:03 +0200 |
commit | 58c45c58a1cbc8d2e1d07839820bf745fb3e7f41 (patch) | |
tree | 1952b449f17ef2f544fdb88240149c927bd0fc5c /fs/cifs/cifsglob.h | |
parent | CIFS: Move protocol specific negotiate code to ops struct (diff) | |
download | linux-58c45c58a1cbc8d2e1d07839820bf745fb3e7f41.tar.xz 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/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 8a4150573cf8..a6eb9befdb2d 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -196,6 +196,11 @@ struct smb_version_operations { bool (*need_neg)(struct TCP_Server_Info *); /* negotiate to the server */ int (*negotiate)(const unsigned int, struct cifs_ses *); + /* setup smb sessionn */ + int (*sess_setup)(const unsigned int, struct cifs_ses *, + const struct nls_table *); + /* close smb session */ + int (*logoff)(const unsigned int, struct cifs_ses *); }; struct smb_version_values { |