Files
linux-stable-mirror/include/linux
Damien Le Moal b6cfe2287d block: Define bdev_nr_zones() as an inline function
There is no need for bdev_nr_zones() to be an exported function
calculating the number of zones of a block device. Instead, given that
all callers use this helper with a fully initialized block device that
has a gendisk, we can redefine this function as an inline helper in
blkdev.h.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20240621031506.759397-3-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-06-21 08:26:35 -06:00
..
2024-05-08 17:29:22 -04:00
2024-05-05 17:53:55 -07:00
2024-05-11 00:41:15 +00:00
2024-05-09 13:02:39 +02:00
2024-05-19 14:36:17 -07:00
2024-05-22 16:12:48 -07:00
2024-05-19 14:40:44 -07:00
2024-05-23 13:38:15 +02:00
2024-06-05 19:19:26 -07:00
2024-05-05 17:53:49 -07:00
2024-05-05 17:53:50 -07:00
2024-05-23 19:40:26 -07:00
2024-05-06 12:05:00 +02:00