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

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

Change-Id: I8ab722e85f8e198caebe8f7b22ffe6986a93237d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Corina Grigoras 2022-05-20 13:15:43 +00:00 committed by Automerger Merge Worker
commit def08b57d6

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;
}