fs/ntfs3: Always use binary search with entry search
authorKari Argillander <kari.argillander@gmail.com>
Thu, 2 Sep 2021 15:40:50 +0000 (18:40 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 13 Sep 2021 16:41:47 +0000 (19:41 +0300)
commit8e69212253d320d4768071086b1111e6ab91d9bd
tree76b09c06f3f4532015cb87f80459956bb0504a45
parentef9297007e9904588682699e618c56401f61d1c2
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>
fs/ntfs3/index.c
fs/ntfs3/ntfs.h