[PATCH] vfat write wrong value into lcase flag

From: OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
Date: Wed Aug 08 2001 - 10:30:58 EST


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/



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:17 EST