Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generic: 5.15: fix FIT partition parser on block partitions
Using set_disk_ro() doesn't have the desired effect and instead of just setting the single partition to be read-only it affects the whole disk. Use the bd_read_only flag in struct block_device instead to mark a partition being read-only. Signed-off-by: Daniel Golle <[email protected]>
- Loading branch information