diff options
author | David Anderson <dvander@google.com> | 2019-12-10 21:07:51 -0800 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-12-12 03:06:21 +0000 |
commit | 864021fbf6578ba0c4ba10cbd3aeb40471c6a244 (patch) | |
tree | edb2332a739b49af5a6cfc6598385cf761868450 /libutils/ProcessCallStack_fuzz.cpp | |
parent | f4ddee0f32aa6226244dd7b9553f105a091e520c (diff) |
remount: Refactor fs_mgr_overlayfs_scratch_device().
This splits fs_mgr_overlayfs_scratch_device into two new methods. The
first, GetScratchStrategy, returns an enum detailing exactly how the
device will find space for scratch:
- via system_<other>,
- via super_<other>, or
- via a dynamic partition.
The second method, GetScratchDevice, uses the strategy to either return
the underlying block device, or look up a dynamic partition.
fs_mgr_overlayfs_scratch_device will be removed completely in a separate
patch.
Bug: 134949511
Test: adb remount and adb_remount_test.sh
Change-Id: Ic7e3815ada4adaf5fd7c19b84dc22249f3dcc881
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions