lkml.org 
[lkml]   [2002]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Fix the utf8 option of vfat (2/4)
From
Date
This patch fixes the bug which happens when utf8 option was used,
by using iocharset for upper/lower conversion.

It's a bit strange that utf8 use iocharset, but this is still needed.

Please apply.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

diff -urN fat_dentry-2.5.18/fs/fat/inode.c fat_utf8_oops-2.5.18/fs/fat/inode.c
--- fat_dentry-2.5.18/fs/fat/inode.c Sat May 25 16:52:06 2002
+++ fat_utf8_oops-2.5.18/fs/fat/inode.c Sat May 25 17:14:49 2002
@@ -872,7 +872,8 @@
if (!silent)
printk("FAT: Using codepage %s\n", sbi->nls_disk->charset);

- if (sbi->options.isvfat && !sbi->options.utf8) {
+ /* FIXME: utf8 is using iocharset for upper/lower conversion */
+ if (sbi->options.isvfat) {
if (sbi->options.iocharset != NULL) {
sbi->nls_io = load_nls(sbi->options.iocharset);
if (!sbi->nls_io) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.034 / U:2.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site