mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Merge pull request #1968 from MilhouseVH/le82_smb211_backport
linux: enable SMB211 as default for CIFS
This commit is contained in:
commit
06931afbb4
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
|
||||||
|
index d95744d..3b75c7e 100644
|
||||||
|
--- a/fs/cifs/connect.c
|
||||||
|
+++ b/fs/cifs/connect.c
|
||||||
|
@@ -1270,9 +1270,9 @@ cifs_parse_mount_options(const char *mountdata, const char *devname,
|
||||||
|
|
||||||
|
vol->actimeo = CIFS_DEF_ACTIMEO;
|
||||||
|
|
||||||
|
- /* FIXME: add autonegotiation -- for now, SMB1 is default */
|
||||||
|
- vol->ops = &smb1_operations;
|
||||||
|
- vol->vals = &smb1_values;
|
||||||
|
+ /* FIXME: add autonegotiation -- for now, SMB2.1 is default */
|
||||||
|
+ vol->ops = &smb21_operations;
|
||||||
|
+ vol->vals = &smb21_values;
|
||||||
|
|
||||||
|
vol->echo_interval = SMB_ECHO_INTERVAL_DEFAULT;
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user