aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2011-12-27 07:22:00 -0500
committerPavel Shilovsky <pshilovsky@samba.org>2012-07-24 13:54:57 -0400
commit5478f9ba9a34d660eb3227dcd16314689c51f946 (patch)
tree6cb95588d403d5a962f6450b68d2daaf23566250 /fs/cifs/cifsglob.h
parentec2e4523fdba88317e06d0c7a88af3a0860447fc (diff)
CIFS: Add session setup/logoff capability for SMB2
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 2d48f880b130..0d78bc410cb3 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -504,6 +504,9 @@ struct cifs_ses {
504 struct session_key auth_key; 504 struct session_key auth_key;
505 struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ 505 struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */
506 bool need_reconnect:1; /* connection reset, uid now invalid */ 506 bool need_reconnect:1; /* connection reset, uid now invalid */
507#ifdef CONFIG_CIFS_SMB2
508 __u16 session_flags;
509#endif /* CONFIG_CIFS_SMB2 */
507}; 510};
508/* no more than one of the following three session flags may be set */ 511/* no more than one of the following three session flags may be set */
509#define CIFS_SES_NT4 1 512#define CIFS_SES_NT4 1