Re: [PATCH v2 04/19] btrfs: remove the open-code to read disk-key

Nikolay Borisov
2020-09-15T08:36:12Z

On 15.09.20 г. 8:35 ч., Qu Wenruo wrote:
> generic_bin_search() distinguishes between reading a key which doesn't
> cross a page and one which does. However this distinction is not
> necessary since read_extent_buffer handles both cases transparently.
>
> Just use read_extent_buffer to streamline the code.
>
> Signed-off-by: Qu Wenruo <wqu@suse.com>

Reviewed-by: Nikolay Borisov <nborisov@suse.com>