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

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

diff -urN v2.2.15/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -633,7 +633,7 @@
 
 	MSDOS_SB(sb)->nls_io = NULL;
 	if (MSDOS_SB(sb)->options.isvfat && !opts.utf8) {
-		p = opts.iocharset ? opts.iocharset : "iso8859-1";
+		p = opts.iocharset ? opts.iocharset : CONFIG_NLS_DEFAULT;
 		MSDOS_SB(sb)->nls_io = load_nls(p);
 		if (! MSDOS_SB(sb)->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)