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

Chaitanya Kulkarni chaitanyak at nvidia.com
Thu Oct 14 00:37:47 CEST 2021


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 at lst.de>
> ---

Bodo's comment is good for the code reliability.

Either way, looks good.

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




More information about the drbd-dev mailing list