[PATCH 09/30] fs: use bdev_nr_bytes instead of open coding it in blkdev_max_block

Kees Cook keescook at chromium.org
Fri Oct 15 09:00:15 PDT 2021


On Fri, Oct 15, 2021 at 03:26:22PM +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