Re: [PATCH v2 05/19] btrfs: make btrfs_fs_info::buffer_radix to take sector size devided values

Johannes Thumshirn
2020-09-15T08:27:33Z

On 15/09/2020 07:36, Qu Wenruo wrote:
> eb = radix_tree_lookup(&fs_info->buffer_radix,
> - start >> PAGE_SHIFT);
> + start / fs_info->sectorsize);

These should be div_u64(start, fs_info->sectorsize) I think.
At least 'start' is a u64.