[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87y49t4hi6.fsf@mail.parknet.co.jp>
Date: Tue, 08 Mar 2016 15:21:21 +0900
From: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To: "Maciej S. Szmigiero" <mail@...iej.szmigiero.name>
Cc: Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] fat: add config option to set UTF-8 mount option by default
"Maciej S. Szmigiero" <mail@...iej.szmigiero.name> 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@...l.parknet.co.jp>
Powered by blists - more mailing lists