# Re: \[PATCH 11/29\] btrfs: use bdev\_nr\_sectors instead of open coding it

- From: Keith Busch \<kbusch@kernel.org\>
- Date: 2021-10-14 02:44:46 
- List: linux-ext4
- Page: https://ratatoskr.run/linux-ext4/2021/10/215939
- Thread: https://ratatoskr.run/linux-block/2021/10/215820/t.md

```text
On Wed, Oct 13, 2021 at 07:10:24AM +0200, Christoph Hellwig wrote:
> Use the proper helper to read the block device size.

Just IMO, this patch looks like it wants a new bdev_nr_bytes() helper
instead of using the double shifting sectors back to bytes.
```
