46e28b
From 6a1d39e50d9f8a7f3765fa6cb85b34e6597d864d Mon Sep 17 00:00:00 2001
46e28b
From: Pavel Valena <pvalena@redhat.com>
46e28b
Date: Tue, 6 Dec 2022 21:46:01 +0100
46e28b
Subject: [PATCH] fix(90kernel-modules): install blk modules using symbol
46e28b
 blk_alloc_disk
46e28b
46e28b
Corresponding kernel symbol blk_cleanup_disk is no longer used in the nvdimm
46e28b
driver and calls are made directly instead.
46e28b
46e28b
blk_alloc_disk is used:
46e28b
https://elixir.bootlin.com/linux/v6.1-rc8/source/drivers/nvdimm/pmem.c#L522
46e28b
46e28b
Resolves: #2149781
46e28b
---
46e28b
 modules.d/90kernel-modules/module-setup.sh | 2 +-
46e28b
 1 file changed, 1 insertion(+), 1 deletion(-)
46e28b
46e28b
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
46e28b
index 191af041..0b9488c3 100755
46e28b
--- a/modules.d/90kernel-modules/module-setup.sh
46e28b
+++ b/modules.d/90kernel-modules/module-setup.sh
46e28b
@@ -2,7 +2,7 @@
46e28b
 
46e28b
 # called by dracut
46e28b
 installkernel() {
46e28b
-    local _blockfuncs='ahci_platform_get_resources|ata_scsi_ioctl|scsi_add_host|blk_cleanup_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device|usb_stor_disconnect|mmc_add_host|sdhci_add_host|scsi_add_host_with_dma|blk_mq_alloc_disk|blk_cleanup_disk'
46e28b
+    local _blockfuncs='ahci_platform_get_resources|ata_scsi_ioctl|scsi_add_host|blk_cleanup_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device|usb_stor_disconnect|mmc_add_host|sdhci_add_host|scsi_add_host_with_dma|blk_alloc_disk|blk_mq_alloc_disk|blk_cleanup_disk'
46e28b
     local -A _hostonly_drvs
46e28b
 
46e28b
     find_kernel_modules_external() {
46e28b