summaryrefslogtreecommitdiff
path: root/debuggerd/libdebuggerd/utility.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2018-10-25 09:02:08 -0700
committerMark Salyzyn <salyzyn@google.com>2018-10-26 22:54:46 +0000
commit1b066c313bb380f83d4b83a9d4937e807e04c740 (patch)
tree65d064c8112fa105a5fcd75cb93769154ace6c49 /debuggerd/libdebuggerd/utility.cpp
parent55d31ecd86f1ac080bb9c40606fe13209150a6ca (diff)
fs_mgr: fs_mgr_has_shared_blocks() needs logical blk_device
For logical partitions, the fstab supplied during fs_mgr_overlayfs_setup() does not have the correct blk_device and thus check in fs_mgr_has_shared_blocks() inside fs_mgr_overlayfs_enabled() will fail to provide the correct status. Call fs_mgr_update_logical_partition() to fix this up. Side effect is an API change where fstab can no longer be considered const when passed into fs_mgr_overlayfs_mount_all() and fs_mgr_overlayfs_required_devices(). Some additional minor cleanup as well. Move fs_mgr_rm_all() higher up as-is in the file as it has no dependencies, which will complicate future changes. Add --help to adb-remount-test.sh unit test script, improve error handling and checking. Test: adb-remount-test.sh Bug: 109821005 Bug: 117605276 Change-Id: I548d3797d49661529490d1a0bf96b63e57491704
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
0 files changed, 0 insertions, 0 deletions