commit | d0139b45b8732fe0e610e309373f7f1881bccb42 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Tue Jan 09 17:14:07 2024 -0800 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Tue Jan 09 17:14:07 2024 -0800 |
tree | 8cab0d4f90e7563ad76a69755d2d5aac85e84b4a | |
parent | 5ede70f71419e0896f28eb1e778ac137894b5eda [diff] |
Mark block device as rw before encryptFstab Some testcases assume that /dev/block/by-name/userdata is writable, but mount_with_alternatives() will mark block device as RO if mount flag includes MS_RDONLY. Fix it by marking the block device as RW again. Test: th Bug: 319156415 Change-Id: Ic04acd4b6175d3f0aeea88675da44309e8df15e8