Re: [PATCH 07/29] target/iblock: use bdev_nr_sectors instead of open coding it

From
Chaitanya Kulkarni <hidden>
Date
2021-10-13 22:37:52
Also in
dm-devel, linux-block, 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 10/12/2021 10:10 PM, Christoph Hellwig wrote:
Use the proper helper to read the block device size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
Bodo's comment is good for the code reliability.

Either way, looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

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