platform_system_vold/model
Zim b6488f3f04 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
2020-03-17 16:14:56 +00:00
..
Disk.cpp Merge changes from topics "metadata_wrapped_key_aosp", "volume_metadata" am: 36fd1ebfae am: 6891eb7e2d am: c14f46d114 2020-02-19 22:19:26 +00:00
Disk.h Add disk for StubVolume 2020-02-12 07:42:40 +00:00
EmulatedVolume.cpp Fix vold wedge when unmounting Android/ 2020-03-17 16:14:56 +00:00
EmulatedVolume.h Fix vold wedge when unmounting Android/ 2020-03-17 16:14:56 +00:00
ObbVolume.cpp Add GetBlockDevSize, GetBlockDevSectors helpers 2018-09-24 14:25:24 +02:00
ObbVolume.h clang-format many files. 2018-09-18 15:41:22 -07:00
PrivateVolume.cpp Merge changes from topics "metadata_wrapped_key_aosp", "volume_metadata" am: 36fd1ebfae am: 6891eb7e2d am: c14f46d114 2020-02-19 22:19:26 +00:00
PrivateVolume.h Merge "Pass volume key as a KeyBuffer" am: 334a684557 am: 4d37b4f980 am: aebcc399ea 2020-02-13 05:41:52 +00:00
PublicVolume.cpp Allow external_storage or media_rw gid access /mnt/media_rw 2020-01-24 22:21:55 +00:00
PublicVolume.h Conditionally use sdcardfs. 2020-01-07 09:03:35 +01:00
StubVolume.cpp Add disk for StubVolume 2020-02-12 07:42:40 +00:00
StubVolume.h Add disk for StubVolume 2020-02-12 07:42:40 +00:00
VolumeBase.cpp Setup Android/, Android/data and Android/obb dirs correctly. 2020-02-04 13:02:49 +01:00
VolumeBase.h Setup Android/, Android/data and Android/obb dirs correctly. 2020-02-04 13:02:49 +01:00
VolumeEncryption.cpp On newer devices, use dm-default-key to encrypt SD cards 2020-02-18 13:01:00 -08:00
VolumeEncryption.h On newer devices, use dm-default-key to encrypt SD cards 2020-02-18 13:01:00 -08:00