Skip to content
Unverified Commit 90c1cd54 authored by Thomas Kühnel's avatar Thomas Kühnel Committed by Konstantin Komarov
Browse files

fs/ntfs3: Fix endian conversion in ni_fname_name



ni_fname_name called ntfs_cmp_names_cpu which assumes that the first
string is in CPU byte order and the second one in little endian.
In this case both strings are little endian so ntfs_cmp_names is the
correct function to call.

Signed-off-by: default avatarThomas Kühnel <thomas.kuehnel@avm.de>
Reviewed-by: default avatarNicolas Schier <n.schier@avm.de>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent ecfbd57c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment