patch-2.2.18 linux/fs/fat/inode.c

Next file: linux/fs/filesystems.c
Previous file: linux/fs/fat/dir.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/fs/fat/inode.c linux/fs/fat/inode.c
@@ -216,6 +216,7 @@
 	opts->quiet = opts->sys_immutable = opts->dotsOK = opts->showexec = 0;
 	opts->codepage = 0;
 	opts->utf8 = 0;
+	opts->small_letter = 1;		/* Default to old behaviour */
 	opts->iocharset = NULL;
 	*debug = *fat = 0;
 
@@ -260,6 +261,12 @@
 		}
 		else if (!strcmp(this_char,"showexec")) {
 			opts->showexec = 1;
+		}
+		else if (!strcmp(this_char,"small")) {
+			opts->small_letter = 1;
+		}
+		else if (!strcmp(this_char,"big")) {
+			opts->small_letter = 0;
 		}
 		else if (!strcmp(this_char,"dotsOK") && value) {
 			if (!strcmp(value,"yes")) opts->dotsOK = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)