Merge "Obtain incfs features early in the booting sequence."

This commit is contained in:
Treehugger Robot 2021-02-13 06:32:14 +00:00 committed by Gerrit Code Review
commit 915f6227a7

View file

@ -903,10 +903,16 @@ binder::Status VoldNativeService::resetCheckpoint() {
return Ok();
}
static void initializeIncFs() {
// Obtaining IncFS features triggers initialization of IncFS.
incfs::features();
}
binder::Status VoldNativeService::earlyBootEnded() {
ENFORCE_SYSTEM_OR_ROOT;
ACQUIRE_LOCK;
initializeIncFs();
Keymaster::earlyBootEnded();
return Ok();
}