Merge "Abort FUSE as part of volume reset" into tm-dev am: 05098fee39

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/vold/+/18492349

Change-Id: Ic5140ae4b9d4a54a85403ebbcf812086910a7bc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Corina Grigoras 2022-05-20 12:46:36 +00:00 committed by Automerger Merge Worker
commit c06c93aa35

View file

@ -914,6 +914,10 @@ int VolumeManager::reset() {
updateVirtualDisk();
mAddedUsers.clear();
mStartedUsers.clear();
// Abort all FUSE connections to avoid deadlocks if the FUSE daemon was killed
// with FUSE fds open.
abortFuse();
return 0;
}