Merge "ANDROID: android-verity: mark dev as rw for linear target"

This commit is contained in:
Linux Build Service Account 2017-07-22 04:08:04 -07:00 committed by Gerrit - the friendly Code Review server
commit 2617410496

View file

@ -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) {