[Drbd-dev] [PATCH 21/30] pstore/blk: use bdev_nr_bytes instead of open coding it

Kees Cook keescook at chromium.org
Fri Oct 15 18:56:03 CEST 2021

On Fri, Oct 15, 2021 at 03:26:34PM +0200, Christoph Hellwig wrote:
> Use the proper helper to read the block device size.
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Thanks for the bdev_by_bytes() helper; this is more readable now. :)

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

Kees Cook

More information about the drbd-dev mailing list