diff mbox

[13/14] cifs: make hard mounts the default

Message ID 1290862886-2914-14-git-send-email-jlayton@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jeff Layton Nov. 27, 2010, 1:01 p.m. UTC
None
diff mbox

Patch

diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index ece7275..d966976 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -899,7 +899,8 @@  cifs_parse_mount_options(char *options, const char *devname,
 	/* default to only allowing write access to owner of the mount */
 	vol->dir_mode = vol->file_mode = S_IRUGO | S_IXUGO | S_IWUSR;
 
-	/* vol->retry default is 0 (i.e. "soft" limited retry not hard retry) */
+	/* default is to retry requests indefinitely */
+	vol->retry = 1;
 	/* default is always to request posix paths. */
 	vol->posix_paths = 1;
 	/* default to using server inode numbers where available */