Merge "fs_mgr_avb: allow top-level vbmeta struct to be in 'boot' partition"
am: ea057b46e0
Change-Id: Ib7583cd28f93e882a00dade3507ee75183674115
This commit is contained in:
commit
75ada5fce3
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ static AvbIOResult read_from_partition(AvbOps* ops ATTRIBUTE_UNUSED, const char*
|
||||||
// access. fs_mgr_test_access() will test a few iterations if the
|
// access. fs_mgr_test_access() will test a few iterations if the
|
||||||
// path doesn't exist yet.
|
// path doesn't exist yet.
|
||||||
if (fs_mgr_test_access(path.c_str()) < 0) {
|
if (fs_mgr_test_access(path.c_str()) < 0) {
|
||||||
return AVB_IO_RESULT_ERROR_IO;
|
return AVB_IO_RESULT_ERROR_NO_SUCH_PARTITION;
|
||||||
}
|
}
|
||||||
|
|
||||||
android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(path.c_str(), O_RDONLY | O_CLOEXEC)));
|
android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(path.c_str(), O_RDONLY | O_CLOEXEC)));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue