"Maciej S. Szmigiero" writes:
> +#ifdef CONFIG_FAT_DEFAULT_UTF8
> + opts->utf8 = is_vfat;
> +#else
> + opts->utf8 = 0;
> +#endif
> +
Maybe, better to use IS_ENABLED(CONFIG_FAT_DEFAULT_UTF8)?
I.e.,
opts->utf8 = IS_ENABLED(CONFIG_FAT_DEFAULT_UTF8) && is_vfat;
Thanks.
--
OGAWA H
FAT has long supported its own default file name encoding
config setting, separate from CONFIG_NLS_DEFAULT.
However, if UTF-8 encoded file names are desired FAT
character set should not be set to utf8 since this would
make file names case sensitive even if case insensitive
matching is requested.
I
2 matches
Mail list logo