Re: [RFC PATCH v2 03/18] ntfs: Undeprecate iocharset= mount option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



26.12.2022 klo 16.22 Pali Rohár (pali@xxxxxxxxxx) wrote:
>
> Other fs drivers are using iocharset= mount option for specifying charset.
> So mark iocharset= mount option as preferred and deprecate nls= mount
> option.

snip.

> diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c

snip.

> @@ -218,10 +213,10 @@ static bool parse_options(ntfs_volume *vol, char *opt)
>                 } else if (!strcmp(p, "utf8")) {
>                         bool val = false;
>                         ntfs_warning(vol->sb, "Option utf8 is no longer "
> -                                  "supported, using option nls=utf8. Please "
> -                                  "use option nls=utf8 in the future and "
> -                                  "make sure utf8 is compiled either as a "
> -                                  "module or into the kernel.");
> +                                  "supported, using option iocharset=utf8. "
> +                                  "Please use option iocharset=utf8 in the "
> +                                  "future and make sure utf8 is compiled "
> +                                  "either as a module or into the kernel.");

We do not have to make sure utf8 is compiled anymore as it "always is" right?

>                         if (!v || !*v)
>                                 val = true;
>                         else if (!simple_getbool(v, &val))




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux