Files
mirror_zfs/module/os/linux/zfs
Brian Behlendorf 1b06b03a7b Linux 5.14 compat: blk_alloc_disk()
In Linux 5.14, blk_alloc_queue is no longer exported, and its usage
has been superseded by blk_alloc_disk, which returns a gendisk struct
from which we can still retrieve the struct request_queue* that is
needed in the one place where it is used. This also replaces the call
to alloc_disk(minors), and minors is now set via struct member
assignment.

Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Coleman Kane <ckane@colemankane.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12362 
Closes #12409
2021-07-23 15:28:03 -07:00
..
2021-03-19 21:00:59 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2020-11-13 13:51:51 -08:00
2021-06-22 21:53:45 -07:00
2020-04-10 10:33:35 -07:00
2021-06-11 17:00:33 -07:00
2021-06-23 17:57:06 -06:00
2021-07-23 15:28:03 -07:00