Snap for 12742097 from fd1e8b2f10 to 25Q1-release
Change-Id: I24867db4c57e6d4f19745fba13adb6039e6708d8
This commit is contained in:
commit
55ad06f5f7
4 changed files with 6 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ FlagList kMountFlagsList[] = {
|
|||
{"slave", MS_SLAVE},
|
||||
{"shared", MS_SHARED},
|
||||
{"lazytime", MS_LAZYTIME},
|
||||
{"nosymfollow", MS_NOSYMFOLLOW},
|
||||
{"defaults", 0},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2404,6 +2404,9 @@ bool SnapshotManager::NeedSnapshotsInFirstStageMount() {
|
|||
PLOG(ERROR) << "Unable to write rollback indicator: " << path;
|
||||
} else {
|
||||
LOG(INFO) << "Rollback detected, writing rollback indicator to " << path;
|
||||
if (device_->IsTempMetadata()) {
|
||||
CleanupScratchOtaMetadataIfPresent();
|
||||
}
|
||||
}
|
||||
}
|
||||
LOG(INFO) << "Not booting from new slot. Will not mount snapshots.";
|
||||
|
|
|
|||
|
|
@ -330,6 +330,7 @@ TEST(fs_mgr, fs_mgr_read_fstab_file_proc_mounts) {
|
|||
{"slave", MS_SLAVE},
|
||||
{"shared", MS_SHARED},
|
||||
{"lazytime", MS_LAZYTIME},
|
||||
{"nosymfollow", MS_NOSYMFOLLOW},
|
||||
{"defaults", 0},
|
||||
{0, 0},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -471,6 +471,7 @@ static struct {
|
|||
{ "private", MS_PRIVATE },
|
||||
{ "slave", MS_SLAVE },
|
||||
{ "shared", MS_SHARED },
|
||||
{ "nosymfollow", MS_NOSYMFOLLOW },
|
||||
{ "defaults", 0 },
|
||||
{ 0, 0 },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue