Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 0006-block-add-no_part_scan-module-parameter.patch
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ index 06b642b23a07..15769cadd687 100644
* device_add_disk - add disk information to kernel list
* @parent: parent device for the disk
@@ -812,6 +821,9 @@ static void __device_add_disk(struct device *parent, struct gendisk *disk,
*/
elevator_init_mq(disk->queue);
if (blk_queue_is_zoned(disk->queue))
disk->flags |= GENHD_FL_NO_PART;

+ if (disk_no_part_scan)
+ disk->flags |= GENHD_FL_NO_PART;
Expand Down
Loading