Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux 5.14 compat: blk_alloc_disk() #12409

Merged
merged 1 commit into from
Jul 23, 2021
Merged

Commits on Jul 21, 2021

  1. 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: Coleman Kane <ckane@colemankane.org>
    Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
    behlendorf committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    9da4955 View commit details
    Browse the repository at this point in the history