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