From: Konstantin Komarov Date: Tue, 25 Jun 2024 06:57:33 +0000 (+0300) Subject: fs/ntfs3: Fix the format of the "nocase" mount option X-Git-Tag: block-6.11-20240726~12^2~10 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d392e85fd1e8d58e460c17ca7d0d5c157848d9c1;p=linux-block.git fs/ntfs3: Fix the format of the "nocase" mount option 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 --- diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c index 5af07ced25ed..c39a70b93bb1 100644 --- a/fs/ntfs3/super.c +++ b/fs/ntfs3/super.c @@ -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