mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-27 03:53:48 +08:00
Translated the junctions to lower case when ignore_case is set
This commit is contained in:
parent
860cddd4db
commit
0e875d3039
@ -200,8 +200,13 @@ static u64 ntfs_fix_file_name(ntfs_inode *dir_ni, ntfschar *uname,
|
||||
*/
|
||||
lemref = entry->indexed_file;
|
||||
mref = le64_to_cpu(lemref);
|
||||
if (NVolCaseSensitive(vol) || !vol->locase) {
|
||||
for (i=0; i<found->file_name_length; i++)
|
||||
uname[i] = found->file_name[i];
|
||||
} else {
|
||||
for (i=0; i<found->file_name_length; i++)
|
||||
uname[i] = vol->locase[found->file_name[i]];
|
||||
}
|
||||
}
|
||||
}
|
||||
ntfs_index_ctx_put(icx);
|
||||
|
Loading…
Reference in New Issue
Block a user