Merge "Abort FUSE as part of volume reset" am: 3712b8de01
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/2101651 Change-Id: I7e4e62ee8b89168c03ab86071a8e7e109958906b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
73383ddb7f
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue