[PATCH] Fix the utf8 option of vfat (2/4)

OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
Sat, 25 May 2002 20:51:46 +0900


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/