commit | b6488f3f0481e83f0685214b9dfabeef09f43af3 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Tue Mar 17 15:15:42 2020 +0000 |
committer | Zim <zezeozue@google.com> | Tue Mar 17 16:14:56 2020 +0000 |
tree | a40e70e5a6fdd1747502dbbfce4fc123a28a11b8 | |
parent | 6b1225770261cbad5cbf6509a32743691fe40783 [diff] |
Fix vold wedge when unmounting Android/ In EmulatedVolume#doMount, if some operations fail, we call EmulatedVolume#doUnmount. During this unmount we try to unmount Android/ causing a FUSE_LOOKUP on the FUSE mount. If the FUSE mount is not up, this can hang. Now we introduce a new state to prevent unmounting Android/ if it wasn't mounted. Test: atest AdoptableHostTest Bug: 151685786 Change-Id: I6246d3910c352034d2a4fb09ad9c1e7fd91cba5e