Christoph Hellwig
59e0727d44
block: add a disk_has_partscan helper
...
commit 140ce28dd3bee8e53acc27f123ae474d69ef66f0 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:30:56 +02:00
..
2024-05-25 16:30:56 +02:00
2023-12-23 18:38:08 -07:00
2024-04-26 11:01:28 -07:00
2024-02-05 10:07:22 -07:00
2024-02-05 10:07:22 -07:00
2023-04-06 16:17:32 -06:00
2023-01-29 15:18:33 -07:00
2024-02-12 08:49:31 -07:00
2024-03-11 11:43:44 -07:00
2023-06-01 09:13:31 -06:00
2023-02-14 14:24:09 -07:00
2022-07-14 12:14:30 -06:00
2024-04-07 15:50:13 -06:00
2024-04-07 15:50:13 -06:00
2024-04-12 08:31:54 -06:00
2024-02-06 14:31:05 +01:00
2023-03-16 09:35:09 -06:00
2023-07-05 16:36:12 -06:00
2023-02-09 09:38:16 -07:00
2023-03-16 09:35:09 -06:00
2024-02-05 10:07:22 -07:00
2023-02-09 09:38:16 -07:00
2024-02-12 08:49:31 -07:00
2023-06-07 07:51:00 -06:00
2024-04-19 08:06:24 -06:00
2024-02-05 10:07:22 -07:00
2023-06-06 22:26:26 -06:00
2022-09-26 19:09:31 -06:00
2024-03-13 20:35:48 -06:00
2024-01-23 08:56:55 -07:00
2024-03-26 11:28:20 -06:00
2023-04-13 06:52:29 -06:00
2022-07-06 06:46:26 -06:00
2024-01-17 14:16:34 -07:00
2022-06-17 07:31:05 -06:00
2023-04-13 06:52:29 -06:00
2024-01-17 14:16:34 -07:00
2023-05-18 19:42:54 -06:00
2023-04-13 06:52:29 -06:00
2023-06-26 12:47:20 -07:00
2023-04-13 06:52:29 -06:00
2024-03-28 17:04:48 -06:00
2023-09-22 08:52:13 -06:00
2023-11-20 10:22:40 -07:00
2021-02-22 06:33:48 -07:00
2023-09-18 14:15:28 -06:00
2023-12-01 18:29:18 -07:00
2024-05-06 20:27:51 -06:00
2024-03-06 08:31:54 -07:00
2021-12-14 17:23:05 -07:00
2024-02-13 08:56:59 -07:00
2024-02-05 10:16:12 -07:00
2023-08-30 10:15:01 -06:00
2020-07-31 16:29:47 -06:00
2024-03-11 11:43:44 -07:00
2023-12-26 09:28:10 -07:00
2024-02-22 10:35:18 -07:00
2024-03-26 11:28:20 -06:00
2024-02-06 14:31:05 +01:00
2024-02-13 08:56:59 -07:00
2023-06-30 11:57:07 -07:00
2023-10-28 13:29:23 +02:00
2023-06-22 09:09:33 -06:00
2023-08-19 07:47:17 -06:00
2023-04-13 06:52:30 -06:00
2024-03-11 10:52:34 -07:00
2024-05-25 16:30:56 +02:00
2024-02-23 07:44:19 -07:00
2024-04-18 09:34:34 -06:00
2024-01-08 12:27:39 -07:00
2023-11-18 14:59:25 +01:00
2023-01-30 09:42:42 -07:00
2023-04-13 06:52:30 -06:00
2023-06-05 10:57:40 -06:00
2024-03-13 15:56:14 -06:00
2024-02-16 15:52:45 -07:00
2024-03-11 11:43:44 -07:00
2024-02-12 08:49:31 -07:00