Merge "Do not umount /mnt/vm" into main am: 15fd73eab0
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/3261819
Change-Id: Ibdc167aeadb2a0f9cea2868cee2fbd91ca28293c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/VolumeManager.cpp b/VolumeManager.cpp
index 7c2b2f2..a7c87a3 100644
--- a/VolumeManager.cpp
+++ b/VolumeManager.cpp
@@ -1036,7 +1036,8 @@
!StartsWith(test, "/mnt/scratch") &&
#endif
!StartsWith(test, "/mnt/vendor") && !StartsWith(test, "/mnt/product") &&
- !StartsWith(test, "/mnt/installer") && !StartsWith(test, "/mnt/androidwritable")) ||
+ !StartsWith(test, "/mnt/installer") && !StartsWith(test, "/mnt/androidwritable") &&
+ !StartsWith(test, "/mnt/vm")) ||
StartsWith(test, "/storage/")) {
toUnmount.push_front(test);
}