Blame 0001-fix-kernel-modules-add-blk_mq_alloc_disk-and-blk_cle.patch

Adam Williamson 56d90e
From b292ce7295f18192124e64e5ec31161d09492160 Mon Sep 17 00:00:00 2001
Adam Williamson 56d90e
From: Lukas Nykryn <lnykryn@redhat.com>
Adam Williamson 56d90e
Date: Thu, 12 Aug 2021 11:46:35 +0200
Adam Williamson 56d90e
Subject: [PATCH] fix(kernel-modules): add blk_mq_alloc_disk and
Adam Williamson 56d90e
 blk_cleanup_disk to blockfuncs
Adam Williamson 56d90e
Adam Williamson 56d90e
Since kernel 5-14 those are used by many drivers for example:
Adam Williamson 56d90e
xen-blkfront, loop, nbd, pd
Adam Williamson 56d90e
---
Adam Williamson 56d90e
 modules.d/90kernel-modules/module-setup.sh | 2 +-
Adam Williamson 56d90e
 1 file changed, 1 insertion(+), 1 deletion(-)
Adam Williamson 56d90e
Adam Williamson 56d90e
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
Adam Williamson 56d90e
index 8b06893a..69dc18b5 100755
Adam Williamson 56d90e
--- a/modules.d/90kernel-modules/module-setup.sh
Adam Williamson 56d90e
+++ b/modules.d/90kernel-modules/module-setup.sh
Adam Williamson 56d90e
@@ -2,7 +2,7 @@
Adam Williamson 56d90e
 
Adam Williamson 56d90e
 # called by dracut
Adam Williamson 56d90e
 installkernel() {
Adam Williamson 56d90e
-    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'
Adam Williamson 56d90e
+    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'
Adam Williamson 56d90e
     local -A _hostonly_drvs
Adam Williamson 56d90e
 
Adam Williamson 56d90e
     find_kernel_modules_external() {
Adam Williamson 56d90e
-- 
Adam Williamson 56d90e
2.33.0
Adam Williamson 56d90e