lkml.org 
[lkml]   [2004]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/4] Manually inline shortname_info_to_lcase()
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.142 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site