]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a loff_t cast to bdev_nr_bytes
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Nov 2021 17:20:37 +0000 (18:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Nov 2021 17:28:03 +0000 (11:28 -0600)
commite50b2386cdb45a7e1ff9a7b2d8625a3d7b722559
treed2b8e09c068cadc5e082705259548b92216d95db
parentdeb4d2597160ca2dba6c24e7132844747ab6425f
block: add a loff_t cast to bdev_nr_bytes

Not really needed as both loff_t and sector_t are always 64-bits wide,
but this documents the different types a bit better.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211104172037.531803-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/genhd.h