diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-03-29 01:53:08 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-03-29 01:56:05 +0100 |
commit | 506ddce90fc99d08d7bc0c9ef4277756f54473bb (patch) | |
tree | 2236f93eecee5b743e89540a41bb5381d9f9e327 /package/libs/libsepol | |
parent | 1c7e146f7e0f42e5e414c6cff0c73f75b405e0dd (diff) | |
download | upstream-506ddce90fc99d08d7bc0c9ef4277756f54473bb.tar.gz upstream-506ddce90fc99d08d7bc0c9ef4277756f54473bb.tar.bz2 upstream-506ddce90fc99d08d7bc0c9ef4277756f54473bb.zip |
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 <daniel@makrotopia.org>
Diffstat (limited to 'package/libs/libsepol')
0 files changed, 0 insertions, 0 deletions