[PATCH] vfat write wrong value into lcase flag

OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
09 Aug 2001 00:30:58 +0900


Hi,

The current vfat is writeing wrong value into lcase flag. It is
writing the lowercase flag, although filename is uppercase.

Please apply.

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

diff -urN linux-2.4.8-pre6/fs/vfat/namei.c vfat_lcase-2.4.8-pre6/fs/vfat/namei.c --- linux-2.4.8-pre6/fs/vfat/namei.c Sat Apr 7 02:51:19 2001 +++ vfat_lcase-2.4.8-pre6/fs/vfat/namei.c Thu Aug 9 00:07:39 2001 @@ -1056,7 +1056,7 @@ (*de)->starthi = 0; (*de)->size = 0; (*de)->attr = is_dir ? ATTR_DIR : ATTR_ARCH; - (*de)->lcase = CASE_LOWER_BASE | CASE_LOWER_EXT; + (*de)->lcase = 0; fat_mark_buffer_dirty(sb, *bh);

- 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/