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