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