[PATCH 03/29] dm: use bdev_nr_sectors instead of open coding it

Kees Cook keescook at chromium.org
Tue Oct 12 23:10:10 PDT 2021


On Wed, Oct 13, 2021 at 07:10:16AM +0200, Christoph Hellwig wrote:
> Use the proper helper to read the block device size.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook



More information about the Linux-nvme mailing list