aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/ntfs3/index.c
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2022-09-23 12:42:18 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2022-09-30 17:39:47 +0300
commita3a956c78efaa202b1d75190136671cf6e87bfbe (patch)
tree25c4675e1c2f118d3bfa89a3495ecf9335594895 /fs/ntfs3/index.c
parentfs/ntfs3: Change destroy_inode to free_inode (diff)
downloadwireguard-linux-a3a956c78efaa202b1d75190136671cf6e87bfbe.tar.xz
wireguard-linux-a3a956c78efaa202b1d75190136671cf6e87bfbe.zip
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.c2
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;