diff options
author | Kari Argillander <kari.argillander@gmail.com> | 2021-09-02 18:40:50 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2021-09-13 19:41:47 +0300 |
commit | 8e69212253d320d4768071086b1111e6ab91d9bd (patch) | |
tree | 76b09c06f3f4532015cb87f80459956bb0504a45 /fs/ntfs3/ntfs.h | |
parent | ef9297007e9904588682699e618c56401f61d1c2 (diff) |
fs/ntfs3: Always use binary search with entry search
We do not have any reason to keep old linear search in. Before this was
used for error path or if table was so big that it cannot be allocated.
Current binary search implementation won't need error path. Remove old
references to linear entry search.
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/ntfs.h')
-rw-r--r-- | fs/ntfs3/ntfs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ntfs3/ntfs.h b/fs/ntfs3/ntfs.h index 695b684bce20..303a162c3158 100644 --- a/fs/ntfs3/ntfs.h +++ b/fs/ntfs3/ntfs.h @@ -21,9 +21,6 @@ /* TODO: Check 4K MFT record and 512 bytes cluster. */ -/* Activate this define to use binary search in indexes. */ -#define NTFS3_INDEX_BINARY_SEARCH - /* Check each run for marked clusters. */ #define NTFS3_CHECK_FREE_CLST |