summaryrefslogtreecommitdiff
path: root/services/incremental/IncrementalService.h
diff options
context:
space:
mode:
authorYurii Zubrytskyi <zyy@google.com>2020-04-03 13:12:51 -0700
committerYurii Zubrytskyi <zyy@google.com>2020-04-03 13:15:53 -0700
commit107ae354444175218fd19bed1c1c4947969aa006 (patch)
treeaf513ff9d6180d59def19f19d9b888ffeae2e593 /services/incremental/IncrementalService.h
parent8885e4f11569ac5aeb37074884bc4025972797c3 (diff)
[incfs] fix the storage loading for existing mounts
IncrementalService used to keep the storage parameters in the directory metadata, but our current incfs doesn't support metadata on directories - so the storage id is encoded in its name. But the loading code used to think it's still in the metadata and couldn't load anything for that reason Bug: 151241369 Test: install an app and reboot the phone. It's still there Change-Id: Ic93f8f368b48fc5c5cc9bb726eff80478183596c
Diffstat (limited to 'services/incremental/IncrementalService.h')
-rw-r--r--services/incremental/IncrementalService.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/incremental/IncrementalService.h b/services/incremental/IncrementalService.h
index 90d58a7adcf0..3615314c7162 100644
--- a/services/incremental/IncrementalService.h
+++ b/services/incremental/IncrementalService.h
@@ -196,7 +196,7 @@ private:
using BindPathMap = std::map<std::string, IncFsMount::BindMap::iterator, path::PathLess>;
void mountExistingImages();
- bool mountExistingImage(std::string_view root, std::string_view key);
+ bool mountExistingImage(std::string_view root);
IfsMountPtr getIfs(StorageId storage) const;
const IfsMountPtr& getIfsLocked(StorageId storage) const;