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 <daniel@makrotopia.org> |
||
|---|---|---|
| .. | ||
| backport-5.10 | ||
| backport-5.15 | ||
| files | ||
| hack-5.10 | ||
| hack-5.15 | ||
| image | ||
| other-files | ||
| pending-5.10 | ||
| pending-5.15 | ||
| config-5.10 | ||
| config-5.15 | ||
| config-filter | ||
| PATCHES | ||