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

block: fix blkdev_ro() missing report readonly status #143

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

biger410
Copy link
Member

@biger410 biger410 commented Jan 7, 2025

Starting v5.11, new "GD_READ_ONLY" flag was introduced into gendisk.state, it's used by disk driver to set disk to readonly, fix blkdev_ro to support it.

Orabug: 37410304

Starting v5.11, new "GD_READ_ONLY" flag was introduced into
gendisk.state, it's used by disk driver to set disk to readonly,
fix blkdev_ro to support it.

Orabug: 37410304

Signed-off-by: Junxiao Bi <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 7, 2025
@biger410 biger410 requested a review from brenns10 January 7, 2025 21:59
@brenns10 brenns10 merged commit 3ec9ece into oracle-samples:main Jan 8, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants