Merge "Create the checkin subdirectory under misc_ce" am: 45d04fb4a2

Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1845900

Change-Id: Ibd90bc3f7b20eac8dec03067fdbb1c64ac6225d5
This commit is contained in:
Tianjie Xu 2021-10-15 21:33:13 +00:00 committed by Automerger Merge Worker
commit 0cc0755bf7

View file

@ -208,6 +208,7 @@ static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int fla
if (!prepare_dir(sehandle, 0700, 0, 0, misc_ce_path + "/vold")) return false;
if (!prepare_dir(sehandle, 0700, 0, 0, misc_ce_path + "/storaged")) return false;
if (!prepare_dir(sehandle, 0700, 0, 0, misc_ce_path + "/rollback")) return false;
if (!prepare_dir(sehandle, 0700, 0, 0, misc_ce_path + "/checkin")) return false;
// TODO: Return false if this returns false once sure this should succeed.
prepare_dir(sehandle, 0700, 0, 0, misc_ce_path + "/apexrollback");