generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: fix blkdev_ro() missing report readonly status
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]>
- Loading branch information
Showing
1 changed file
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters