Merge "Remove unmount_tree in VolumeManager."
diff --git a/VolumeManager.cpp b/VolumeManager.cpp
index db47e4d..cbe3187 100644
--- a/VolumeManager.cpp
+++ b/VolumeManager.cpp
@@ -410,10 +410,6 @@
return 0;
}
-static int unmount_tree(const std::string& prefix) {
- return android::vold::UnmountTree(prefix);
-}
-
int VolumeManager::remountUid(uid_t uid, const std::string& mode) {
LOG(DEBUG) << "Remounting " << uid << " as mode " << mode;
@@ -483,7 +479,7 @@
_exit(1);
}
- unmount_tree("/storage/");
+ android::vold::UnmountTree("/storage/");
std::string storageSource;
if (mode == "default") {