Merge "Abort FUSE as part of volume reset" into tm-dev

This commit is contained in:
Corina Grigoras 2022-05-20 09:59:53 +00:00 committed by Android (Google) Code Review
commit 05098fee39

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