patch-1.3.57 linux/fs/msdos/inode.c

Next file: linux/fs/nfs/nfsroot.c
Previous file: linux/fs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.56/linux/fs/msdos/inode.c linux/fs/msdos/inode.c
@@ -81,9 +81,7 @@
 
 	*check = 'n';
 	*conversion = 'b';
-	/* Please leave dotsOK as 1, and contact Albert Cahalan if */
-	/* it causes any problems for you. <albert@ccs.neu.edu>    */
-	*dotsOK =1;  /* see note above, and report problems */
+	*dotsOK = 0;
 	*uid = current->uid;
 	*gid = current->gid;
 	*umask = current->fs->umask;
@@ -107,6 +105,12 @@
 			else if (!strcmp(value,"text")) *conversion = 't';
 			else if (!strcmp(value,"auto")) *conversion = 'a';
 			else return 0;
+		}
+		else if (!strcmp(this_char,"dots")) {
+		  *dotsOK = 1;
+		}
+		else if (!strcmp(this_char,"nodots")) {
+		  *dotsOK = 0;
 		}
 		else if (!strcmp(this_char,"dotsOK") && value) {
 			if (!strcmp(value,"yes")) *dotsOK = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this