Skip to content

Instantly share code, notes, and snippets.

@MilhouseVH
Last active September 12, 2017 19:35
Show Gist options
  • Save MilhouseVH/fa584361d7b48f80b2a56c1fc1d10bc4 to your computer and use it in GitHub Desktop.
Save MilhouseVH/fa584361d7b48f80b2a56c1fc1d10bc4 to your computer and use it in GitHub Desktop.
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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment