Skip to content

Commit e3beefd

Browse files
sprasad-microsoftsmfrench
authored andcommitted
cifs: make default value of retrans as zero
When retrans mount option was introduced, the default value was set as 1. However, in the light of some bugs that this has exposed recently we should change it to 0 and retain the old behaviour before this option was introduced. Cc: <stable@vger.kernel.org> Reviewed-by: Bharath SM <bharathsm@microsoft.com> Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 40e75e4 commit e3beefd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/smb/client/fs_context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ int smb3_init_fs_context(struct fs_context *fc)
19971997
ctx->backupuid_specified = false; /* no backup intent for a user */
19981998
ctx->backupgid_specified = false; /* no backup intent for a group */
19991999

2000-
ctx->retrans = 1;
2000+
ctx->retrans = 0;
20012001
ctx->reparse_type = CIFS_REPARSE_TYPE_DEFAULT;
20022002
ctx->symlink_type = CIFS_SYMLINK_TYPE_DEFAULT;
20032003
ctx->nonativesocket = 0;

0 commit comments

Comments
 (0)