Skip to content

Commit b292ce7

Browse files
lnykrynjohannbg
authored andcommitted
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
1 parent 38320fc commit b292ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules.d/90kernel-modules/module-setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# called by dracut
44
installkernel() {
5-
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'
5+
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'
66
local -A _hostonly_drvs
77

88
find_kernel_modules_external() {

0 commit comments

Comments
 (0)