Skip to contentSkip to conversation

nls support in isofs

PATCH New Young-Ho Cha 1 participant 1 message Nov 28, 2000 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nls support in isofs

Hi. kernel hackers.

I found a problem that isofs nls did not work in kernel 2.4.0-test*.

so I compared with 2.2 series, and found that isofs default nls was written hard coding with iso8859.

plz apply follwing patch.

Regards,
--
Young-Ho, Cha <[email protected]>

fs/inode.c renamed from fs/inode.c.orig +1 -1
@@ -737,7 +737,7 @@
 
 #ifdef CONFIG_JOLIET
 	if (joliet_level && opt.utf8 == 0) {
-		char * p = opt.iocharset ? opt.iocharset : "iso8859-1";
+		char * p = opt.iocharset ? opt.iocharset : CONFIG_NLS_DEFAULT;
 		s->u.isofs_sb.s_nls_iocharset = load_nls(p);
 		if (! s->u.isofs_sb.s_nls_iocharset) {
 			/* Fail only if explicit charset specified */