Re: [PATCH 4/4] Manually inline shortname_info_to_lcase()

From: OGAWA Hirofumi
Date: Tue Nov 09 2004 - 11:05:49 EST


lsr@xxxxxxxxxxxxxxxxxxxxxxx writes:

> @@ -447,20 +431,22 @@
> if (is_shortname && base_info.valid && ext_info.valid) {
> if (vfat_find_form(dir, name_res) == 0)
> return -EEXIST;
>
> if (opt_shortname & VFAT_SFN_CREATE_WIN95) {
> return (base_info.upper && ext_info.upper);
> } else if (opt_shortname & VFAT_SFN_CREATE_WINNT) {
> if ((base_info.upper || base_info.lower)
> && (ext_info.upper || ext_info.lower)) {
> - *lcase = shortname_info_to_lcase(&base_info,
> - &ext_info);
> + if (!base_info.upper && base_info.lower)
> + *lcase |= CASE_LOWER_BASE;
> + if (!ext_info.upper && ext_info.lower)
> + *lcase |= CASE_LOWER_EXT;

Looks good. Thanks.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/