diff options
author | Nikita Ioffe <ioffe@google.com> | 2020-04-06 23:28:40 +0100 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2020-04-07 14:04:06 +0100 |
commit | 7facdac6afd331da25940134be5a09bfa7d8db91 (patch) | |
tree | 9e1e33f35cb4144039c7a6f835ecb5f5c502996a /libutils/FileMap.cpp | |
parent | 60375b7cc680ca8b99f2f75334be16b06619fed2 (diff) |
get_mounted_entry_for_userdata: Realpath block devices from fstabs
Use realpath as a canonical representation of block devices. This makes
it easier to reason about block devices. This also fixes a bug, in which
fs_mgr_get_mounted_entry_for_userdata didn't properly work on devices
that don't support metadata encryption.
Test: atest CtsFsMgrTestCases
Test: atest CtsUserspaceRebootHostSideTestCases
Bug: 153363818
Change-Id: I139c2be46336a632bbaee86667019c075d7de814
Merged-In: I139c2be46336a632bbaee86667019c075d7de814
(cherry picked from commit 7aa37f1f21c83479b047706a8867d8ba225b1691)
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions