Merge "Abort FUSE as part of volume reset"

This commit is contained in:
Zimuzo Ezeozue 2022-05-20 09:34:24 +00:00 committed by Gerrit Code Review
commit 3712b8de01

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