linux/block/partitions
Christoph Hellwig 140ce28dd3 block: add a disk_has_partscan helper
Add a helper to check if partition scanning is enabled instead of
open coding the check in a few places.  This now always checks for
the hidden flag even if all but one of the callers are never reachable
for hidden gendisks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240502130033.1958492-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-05-03 08:59:59 -06:00
..
2024-05-03 08:59:59 -06:00
2022-02-02 07:49:59 -07:00
2020-03-24 07:57:08 -06:00
2022-02-02 07:49:59 -07:00
2020-03-24 07:57:08 -06:00