diff options
author | Mark Salyzyn <salyzyn@google.com> | 2019-05-13 09:14:55 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2019-05-13 10:02:51 -0700 |
commit | 98a0128e44baf60b630d39221de580716a98aa7f (patch) | |
tree | f9e542bed504d336790c11f4add7baa14292e6d0 /libunwindstack/tests/MemoryCacheTest.cpp | |
parent | e27cd0c54e545580d5e750e2a323cb281d203941 (diff) |
fs_mgr: overlayfs: ReadFstabFromFile touches errno
Regression from commit 77c28476f19c910a869af878c8983d52e53c07b
("Remove the mount points defined in skip_mount.cfg from
ReadDefaultFstab()") resulted in ReadFstabFromFile to report
errno ENOENT even upon success, preventing clear error propagation
for real failures (ReadFstabFromFile would _always_ report ENOENT).
The bad error propagation resulted in an adb remount failure.
Added immunization against future adjustments that may also
result in a similar regression in adb remount behaviors.
Test: adb-remount-test.sh
Bug: 132594161
Bug: 128961335
Change-Id: Icf5d48bbfc6d938d4b9657ca8004a6a6ddaab5a6
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions