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

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Oct 13 15:37:47 PDT 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 Linux-nvme mailing list