diff options
Diffstat (limited to 'fs/ntfs/collate.h')
-rw-r--r-- | fs/ntfs/collate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ntfs/collate.h b/fs/ntfs/collate.h index e027f36fcc2f..aba83347e5fe 100644 --- a/fs/ntfs/collate.h +++ b/fs/ntfs/collate.h | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "types.h" | 26 | #include "types.h" |
27 | #include "volume.h" | 27 | #include "volume.h" |
28 | 28 | ||
29 | static inline BOOL ntfs_is_collation_rule_supported(COLLATION_RULE cr) { | 29 | static inline bool ntfs_is_collation_rule_supported(COLLATION_RULE cr) { |
30 | int i; | 30 | int i; |
31 | 31 | ||
32 | /* | 32 | /* |
@@ -35,12 +35,12 @@ static inline BOOL ntfs_is_collation_rule_supported(COLLATION_RULE cr) { | |||
35 | * now. | 35 | * now. |
36 | */ | 36 | */ |
37 | if (unlikely(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG)) | 37 | if (unlikely(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG)) |
38 | return FALSE; | 38 | return false; |
39 | i = le32_to_cpu(cr); | 39 | i = le32_to_cpu(cr); |
40 | if (likely(((i >= 0) && (i <= 0x02)) || | 40 | if (likely(((i >= 0) && (i <= 0x02)) || |
41 | ((i >= 0x10) && (i <= 0x13)))) | 41 | ((i >= 0x10) && (i <= 0x13)))) |
42 | return TRUE; | 42 | return true; |
43 | return FALSE; | 43 | return false; |
44 | } | 44 | } |
45 | 45 | ||
46 | extern int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, | 46 | extern int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, |