Merge "ANDROID: android-verity: mark dev as rw for linear target"
This commit is contained in:
commit
2617410496
1 changed files with 2 additions and 0 deletions
|
@ -645,6 +645,8 @@ static int add_as_linear_device(struct dm_target *ti, char *dev)
|
|||
android_verity_target.iterate_devices = dm_linear_iterate_devices,
|
||||
android_verity_target.io_hints = NULL;
|
||||
|
||||
set_disk_ro(dm_disk(dm_table_get_md(ti->table)), 0);
|
||||
|
||||
err = dm_linear_ctr(ti, DM_LINEAR_ARGS, linear_table_args);
|
||||
|
||||
if (!err) {
|
||||
|
|
Loading…
Add table
Reference in a new issue