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.9 support #189

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Linux 6.9 support #189

merged 2 commits into from
Aug 15, 2024

Conversation

anbe42
Copy link
Contributor

@anbe42 anbe42 commented Aug 14, 2024

The duplicate allocation (probably a copy+paste error when moving around the code) is a potential memory leak.

Add another case for the new two-argument blk_alloc_disk(). Adjust the error handling as well, since it now returns an errno as ERR_PTR() instead of NULL in case of error.

Not tested beyond module compilation.

adjust for Linux v6.9-rc1 commit
"block: pass a queue_limits argument to blk_alloc_disk"
(74fa8f9c553f7b5ccab7d103acae63cc2e080465)

Fixes: pkoutoupis#185
Copy link
Owner

@pkoutoupis pkoutoupis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you!

@pkoutoupis pkoutoupis merged commit 5205585 into pkoutoupis:master Aug 15, 2024
@anbe42 anbe42 deleted the linux-6.9-support branch October 17, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants