diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2022-09-23 12:42:18 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2022-09-30 17:39:47 +0300 |
commit | a3a956c78efaa202b1d75190136671cf6e87bfbe (patch) | |
tree | 25c4675e1c2f118d3bfa89a3495ecf9335594895 /fs/ntfs3/index.c | |
parent | ae6b47b5653e986e1dcaeb1ca7d13a04aeefdcfe (diff) | |
download | linux-a3a956c78efaa202b1d75190136671cf6e87bfbe.tar.xz |
fs/ntfs3: Add option "nocase"
This commit adds mount option and additional functions.
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/index.c')
-rw-r--r-- | fs/ntfs3/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/index.c b/fs/ntfs3/index.c index 440328147e7e..613036f9c6e6 100644 --- a/fs/ntfs3/index.c +++ b/fs/ntfs3/index.c @@ -47,7 +47,7 @@ static int cmp_fnames(const void *key1, size_t l1, const void *key2, size_t l2, if (l2 < fsize2) return -1; - both_case = f2->type != FILE_NAME_DOS /*&& !sbi->options.nocase*/; + both_case = f2->type != FILE_NAME_DOS && !sbi->options->nocase; if (!l1) { const struct le_str *s2 = (struct le_str *)&f2->name_len; |