diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2021-11-03 00:44:38 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-11-12 02:22:58 +0100 |
commit | d6c9ad23b42104f5921e876699a484a57c2b90ff (patch) | |
tree | 70e940dd151cf6c4f19663079da3b05329a341cd /fs/ksmbd/smb_common.h | |
parent | ksmbd: switch to use shared definitions where available (diff) | |
download | linux-d6c9ad23b42104f5921e876699a484a57c2b90ff.tar.xz linux-d6c9ad23b42104f5921e876699a484a57c2b90ff.zip |
ksmbd: use the common definitions for NEGOTIATE_PROTOCOL
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/smb_common.h')
-rw-r--r-- | fs/ksmbd/smb_common.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/ksmbd/smb_common.h b/fs/ksmbd/smb_common.h index e7d698154699..8ed09ba782c2 100644 --- a/fs/ksmbd/smb_common.h +++ b/fs/ksmbd/smb_common.h @@ -33,17 +33,6 @@ #define SMB302_VERSION_STRING "3.02" #define SMB311_VERSION_STRING "3.1.1" -/* Dialects */ -#define SMB10_PROT_ID 0x00 -#define SMB20_PROT_ID 0x0202 -#define SMB21_PROT_ID 0x0210 -/* multi-protocol negotiate request */ -#define SMB2X_PROT_ID 0x02FF -#define SMB30_PROT_ID 0x0300 -#define SMB302_PROT_ID 0x0302 -#define SMB311_PROT_ID 0x0311 -#define BAD_PROT_ID 0xFFFF - #define SMB_ECHO_INTERVAL (60 * HZ) #define CIFS_DEFAULT_IOSIZE (64 * 1024) |