]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit930d52cf18a28f0f907622fac19298601eb1e647
tree76b09c06f3f4532015cb87f80459956bb0504a45
parent7d75007d14347b03cea626e9a6e69a617714109a
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