diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2021-09-29 07:09:24 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-10-07 18:18:27 +0300 |
commit | 51a1387393d98c2ba52d53d089720fa9f1463178 (patch) | |
tree | 2fc41e3cf470fd77d48d45408dcb1ac1c6888bbb /fs/ksmbd/smb2ops.c | |
parent | c2e99d47973796c3fafd13079337dcadecd49d8a (diff) | |
download | linux-51a1387393d98c2ba52d53d089720fa9f1463178.tar.xz |
ksmbd: remove the leftover of smb2.0 dialect support
Although ksmbd doesn't send SMB2.0 support in supported dialect list of smb
negotiate response, There is the leftover of smb2.0 dialect.
This patch remove it not to support SMB2.0 in ksmbd.
Cc: Tom Talpey <tom@talpey.com>
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: Ralph Böhme <slow@samba.org>
Cc: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/smb2ops.c')
-rw-r--r-- | fs/ksmbd/smb2ops.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/ksmbd/smb2ops.c b/fs/ksmbd/smb2ops.c index 197473871aa4..b06456eb587b 100644 --- a/fs/ksmbd/smb2ops.c +++ b/fs/ksmbd/smb2ops.c @@ -187,11 +187,6 @@ static struct smb_version_cmds smb2_0_server_cmds[NUMBER_OF_SMB2_COMMANDS] = { [SMB2_CHANGE_NOTIFY_HE] = { .proc = smb2_notify}, }; -int init_smb2_0_server(struct ksmbd_conn *conn) -{ - return -EOPNOTSUPP; -} - /** * init_smb2_1_server() - initialize a smb server connection with smb2.1 * command dispatcher |