commit | 43d9f1833fd79d9fef8b7847f9aeb27b4d51fa6f | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Tue Dec 10 21:18:28 2019 -0800 |
committer | David Anderson <dvander@google.com> | Thu Dec 12 14:13:40 2019 -0800 |
tree | c1db02b1bb3d9693bb767e7df8037ed2cdc52f57 | |
parent | a3bf8478a3b40a7a205c829162102bc3dffd4428 [diff] |
remount: Refactor fs_mgr_overlayfs_teardown This pulls code for mapping the scratch device into a separate function. It also avoids implicitly failing by passing an empty device string. Finally, it calls GetScratchDevice, to remove a caller of the deprecated method fs_mgr_overlayfs_scratch_device(). Bug: 134949511 Test: adb remount and adb_remount_test.sh Change-Id: If4a543d3fa26af3f8578ec8b236859c8e4d9bfd8