• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Révision90611aa3e6918448301e5712703062348a005546 (tree)
l'heure2019-04-18 06:00:56
AuteurMark Salyzyn <salyzyn@goog...>
CommiterMark Salyzyn

Message de Log

fs_mgr: overlay: wait for logical partition to be created

Test: adb-remount-test.sh
Bug: 130238923
Change-Id: Iaff01565d6df5c4434e66f742ed0939f61f6005a

Change Summary

Modification

--- a/fs_mgr/fs_mgr_overlayfs.cpp
+++ b/fs_mgr/fs_mgr_overlayfs.cpp
@@ -715,7 +715,7 @@ bool fs_mgr_overlayfs_create_scratch(const Fstab& fstab, std::string* scratch_de
715715 }
716716
717717 if (changed || partition_create) {
718- if (!CreateLogicalPartition(super_device, slot_number, partition_name, true, 0s,
718+ if (!CreateLogicalPartition(super_device, slot_number, partition_name, true, 10s,
719719 scratch_device))
720720 return false;
721721
@@ -940,7 +940,7 @@ bool fs_mgr_overlayfs_teardown(const char* mount_point, bool* change) {
940940 auto slot_number = fs_mgr_overlayfs_slot_number();
941941 auto super_device = fs_mgr_overlayfs_super_device(slot_number);
942942 const auto partition_name = android::base::Basename(kScratchMountPoint);
943- CreateLogicalPartition(super_device, slot_number, partition_name, true, 0s,
943+ CreateLogicalPartition(super_device, slot_number, partition_name, true, 10s,
944944 &scratch_device);
945945 }
946946 mount_scratch = fs_mgr_overlayfs_mount_scratch(scratch_device,