]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
fs/ntfs3: Fix the format of the "nocase" mount option
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 25 Jun 2024 06:57:33 +0000 (09:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Aug 2024 07:00:25 +0000 (09:00 +0200)
[ Upstream commit d392e85fd1e8d58e460c17ca7d0d5c157848d9c1 ]

The 'nocase' option was mistakenly added as fsparam_flag_no
with the 'no' prefix, causing the case-insensitive mode to require
the 'nonocase' option to be enabled.

Fixes: a3a956c78efa ("fs/ntfs3: Add option "nocase"")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ntfs3/super.c

index 24a134eeb45a21814ea12638cc4cecdff108f47c..02b6f51ce6503e1bc4fac5a9c0fdfe7c51f505d7 100644 (file)
@@ -275,7 +275,7 @@ static const struct fs_parameter_spec ntfs_fs_parameters[] = {
        fsparam_flag_no("acl",                  Opt_acl),
        fsparam_string("iocharset",             Opt_iocharset),
        fsparam_flag_no("prealloc",             Opt_prealloc),
-       fsparam_flag_no("nocase",               Opt_nocase),
+       fsparam_flag_no("case",         Opt_nocase),
        {}
 };
 // clang-format on