Messages in this thread | | | Subject | Re: [PATCH 4/4] Manually inline shortname_info_to_lcase() | From | OGAWA Hirofumi <> | Date | Wed, 10 Nov 2004 00:11:29 +0900 |
| |
lsr@neapel230.server4you.de 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@mail.parknet.co.jp> - 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/
| |