patch-2.4.0-test5 linux/fs/fat/inode.c
Next file: linux/fs/fcntl.c
Previous file: linux/fs/fat/dir.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Wed Jul 19 11:27:45 2000
- Orig file:
v2.4.0-test4/linux/fs/fat/inode.c
- Orig date:
Mon Jul 10 16:47:25 2000
diff -u --recursive --new-file v2.4.0-test4/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -10,6 +10,7 @@
* Max Cohan: Fixed invalid FSINFO offset when info_sector is 0
*/
+#include <linux/config.h>
#include <linux/version.h>
#define __NO_VERSION__
#include <linux/module.h>
@@ -217,6 +218,7 @@
opts->fs_umask = current->fs->umask;
opts->quiet = opts->sys_immutable = opts->dotsOK = opts->showexec = 0;
opts->codepage = 0;
+ opts->nocase = 0;
opts->utf8 = 0;
opts->iocharset = NULL;
*debug = *fat = 0;
@@ -257,6 +259,9 @@
else if (!strcmp(this_char,"dots")) {
opts->dotsOK = 1;
}
+ else if (!strcmp(this_char,"nocase")) {
+ opts->nocase = 1;
+ }
else if (!strcmp(this_char,"nodots")) {
opts->dotsOK = 0;
}
@@ -643,7 +648,7 @@
sbi->nls_io = NULL;
if (sbi->options.isvfat && !opts.utf8) {
- p = opts.iocharset ? opts.iocharset : "iso8859-1";
+ p = opts.iocharset ? opts.iocharset : CONFIG_NLS_DEFAULT;
sbi->nls_io = load_nls(p);
if (! sbi->nls_io)
/* Fail only if explicit charset specified */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)