Files
linux-stable-mirror/include/linux
Christoph HellwigandGreg Kroah-Hartman d6b6dfff6c block: add a disk_has_partscan helper
commit 140ce28dd3 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-25 16:22:55 +02:00
..
2023-11-28 17:19:55 +00:00
2023-09-11 15:24:16 -07:00
2024-05-25 16:22:55 +02:00
2024-04-03 15:28:18 +02:00
2024-03-26 18:20:13 -04:00
2023-09-13 10:48:48 +02:00
2024-04-03 15:28:29 +02:00
2023-11-20 11:58:53 +01:00
2023-11-28 17:19:54 +00:00
2023-09-29 17:20:46 -07:00
2023-11-28 17:19:48 +00:00
2023-10-06 11:01:23 +02:00
2023-10-06 11:01:23 +02:00
2024-05-17 12:01:59 +02:00
2023-11-28 17:19:38 +00:00
2024-01-31 16:18:47 -08:00