diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-12-27 12:22:00 (GMT) |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 17:54:57 (GMT) |
commit | 5478f9ba9a34d660eb3227dcd16314689c51f946 (patch) | |
tree | 6cb95588d403d5a962f6450b68d2daaf23566250 /fs/cifs/cifsglob.h | |
parent | ec2e4523fdba88317e06d0c7a88af3a0860447fc (diff) | |
download | linux-fsl-qoriq-5478f9ba9a34d660eb3227dcd16314689c51f946.tar.xz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 2d48f88..0d78bc4 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -504,6 +504,9 @@ struct cifs_ses { struct session_key auth_key; struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ bool need_reconnect:1; /* connection reset, uid now invalid */ +#ifdef CONFIG_CIFS_SMB2 + __u16 session_flags; +#endif /* CONFIG_CIFS_SMB2 */ }; /* no more than one of the following three session flags may be set */ #define CIFS_SES_NT4 1 |