platform_system_vold/model
Zim f71707916f Unmount public volume if FUSE mount fails
Sometimes, during early boot, a public volume may be created before
the user is unlocked and the mount may fail. This mount failure does
not revert the lower fs mounts (sdcardfs and vfat). Subsequent
mount attempts will then fail because we'd attempt to mount vfat on
already mounted /mnt/media_rw/<volname>

Bug: 158489548
Test: Resilient to an artificial sleep in
StorageManagerService#completeUnlockUser to
delay user unlock longer than public volume mount

Change-Id: I9a1574596434a2eb6b2553c0c9220c2118c7e4fd
2020-06-22 14:26:57 +01:00
..
Disk.cpp Expand virtio_block check to other virtual devices 2020-05-15 17:00:44 -07:00
Disk.h Add disk for StubVolume 2020-02-12 07:42:40 +00:00
EmulatedVolume.cpp Configure read ahead for fuse mounts 2020-06-17 15:58:25 +01:00
EmulatedVolume.h Bind mount Android/data and Android/obb individually. 2020-03-20 13:24:41 +01: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 Handle virtio in private fs mapping 2020-05-19 17:42:20 -07:00
PrivateVolume.h Introduce postMount() VolumeBase helper. 2020-05-04 15:09:32 +02:00
PublicVolume.cpp Unmount public volume if FUSE mount fails 2020-06-22 14:26:57 +01: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 Introduce postMount() VolumeBase helper. 2020-05-04 15:09:32 +02:00
VolumeBase.h Introduce postMount() VolumeBase helper. 2020-05-04 15:09:32 +02: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