RE: [PATCH v8 02/13] exfat: add super block operations

From: Namjae Jeon
Date: Thu Jan 02 2020 - 01:06:56 EST


> > +static const struct fs_parameter_spec exfat_param_specs[] = {
> > + fsparam_u32("uid", Opt_uid),
> > + fsparam_u32("gid", Opt_gid),
> > + fsparam_u32oct("umask", Opt_umask),
> > + fsparam_u32oct("dmask", Opt_dmask),
> > + fsparam_u32oct("fmask", Opt_fmask),
> > + fsparam_u32oct("allow_utime", Opt_allow_utime),
> > + fsparam_string("iocharset", Opt_charset),
> > + fsparam_flag("utf8", Opt_utf8),
>
> Hello! What is the purpose of having extra special "utf8" mount option?
> Is not one "iocharset=utf8" option enough?
utf8 nls_table supports utf8<->utf32 conversion and does not support
surrogate character conversion. The utf8 option can support the surrogate
character conversion of utf16 using utf16s_to_utf8s/utf8s_to_utf16s of
the nls base.

Thanks!