Re: [PATCH] fat: add config option to set UTF-8 mount option by default
From: OGAWA Hirofumi
Date: Tue Mar 08 2016 - 01:21:37 EST
"Maciej S. Szmigiero" <mail@xxxxxxxxxxxxxxxxxxxxx> 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 Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>