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

Chaitanya Kulkarni
2021-10-13T22:37:51Z

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>