diff options
Diffstat (limited to 'fs/ntfs/unistr.c')
-rw-r--r-- | fs/ntfs/unistr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ntfs/unistr.c b/fs/ntfs/unistr.c index a1b572196fe4..6a495f7369f9 100644 --- a/fs/ntfs/unistr.c +++ b/fs/ntfs/unistr.c | |||
@@ -61,16 +61,16 @@ static const u8 legal_ansi_char_array[0x40] = { | |||
61 | * @upcase: upcase table (only if @ic == IGNORE_CASE) | 61 | * @upcase: upcase table (only if @ic == IGNORE_CASE) |
62 | * @upcase_size: length in Unicode characters of @upcase (if present) | 62 | * @upcase_size: length in Unicode characters of @upcase (if present) |
63 | * | 63 | * |
64 | * Compare the names @s1 and @s2 and return TRUE (1) if the names are | 64 | * Compare the names @s1 and @s2 and return 'true' (1) if the names are |
65 | * identical, or FALSE (0) if they are not identical. If @ic is IGNORE_CASE, | 65 | * identical, or 'false' (0) if they are not identical. If @ic is IGNORE_CASE, |
66 | * the @upcase table is used to performa a case insensitive comparison. | 66 | * the @upcase table is used to performa a case insensitive comparison. |
67 | */ | 67 | */ |
68 | BOOL ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, | 68 | bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, |
69 | const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, | 69 | const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, |
70 | const ntfschar *upcase, const u32 upcase_size) | 70 | const ntfschar *upcase, const u32 upcase_size) |
71 | { | 71 | { |
72 | if (s1_len != s2_len) | 72 | if (s1_len != s2_len) |
73 | return FALSE; | 73 | return false; |
74 | if (ic == CASE_SENSITIVE) | 74 | if (ic == CASE_SENSITIVE) |
75 | return !ntfs_ucsncmp(s1, s2, s1_len); | 75 | return !ntfs_ucsncmp(s1, s2, s1_len); |
76 | return !ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size); | 76 | return !ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size); |