Commit e3beefd3 authored by Shyam Prasad N's avatar Shyam Prasad N Committed by Steve French
Browse files

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: default avatarBharath SM <bharathsm@microsoft.com>
Signed-off-by: default avatarShyam Prasad N <sprasad@microsoft.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 40e75e42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1997,7 +1997,7 @@ int smb3_init_fs_context(struct fs_context *fc)
	ctx->backupuid_specified = false; /* no backup intent for a user */
	ctx->backupgid_specified = false; /* no backup intent for a group */

	ctx->retrans = 1;
	ctx->retrans = 0;
	ctx->reparse_type = CIFS_REPARSE_TYPE_DEFAULT;
	ctx->symlink_type = CIFS_SYMLINK_TYPE_DEFAULT;
	ctx->nonativesocket = 0;