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 6.5 compat: check BLK_OPEN_EXCL is defined #15692

Merged
merged 1 commit into from
Dec 21, 2023

Commits on Dec 20, 2023

  1. Linux 6.5 compat: check BLK_OPEN_EXCL is defined

    On some systems we already have blkdev_get_by_path() with 4 args
    but still the old FMODE_EXCL and not BLK_OPEN_EXCL defined.
    The vdev_bdev_mode() function was added to handle this case
    but there was no generic way to specify exclusive access.
    
    Signed-off-by: Brian Behlendorf <[email protected]>
    behlendorf committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    eeb3939 View commit details
    Browse the repository at this point in the history