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
Also in
dm-devel, linux-bcache, linux-btrfs, linux-ext4, linux-fsdevel, linux-nfs, linux-nvme, linux-raid, linux-scsi, ntfs3, target-devel
Reply to
Christoph Hellwig, 2021-10-13
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.
Thread (76 messages) 76 messages, 15 authors, last reply 2021-10-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help