Merge "fs_mgr: overlayfs: CreateDynamicScratch for *partition_exists" am: 684122a264
am: 066cfa3726
Change-Id: I1f266476be118a1ceccbdd77db8eba782889443b
This commit is contained in:
commit
47afe8f609
1 changed files with 2 additions and 0 deletions
|
@ -1026,6 +1026,8 @@ static bool CreateDynamicScratch(std::string* scratch_device, bool* partition_ex
|
|||
}
|
||||
|
||||
if (change) *change = true;
|
||||
} else if (scratch_device->empty()) {
|
||||
*scratch_device = GetBootScratchDevice();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue