diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2019-08-15 08:34:27 -0700 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2019-08-15 11:37:18 -0700 |
| commit | 18085418ee193ea7d7752341ede6688569ab0bd1 (patch) | |
| tree | c40ebb989936fff5a0bb406f49af79dbb2cf3c73 /libutils/ProcessCallStack_fuzz.cpp | |
| parent | 5f0e5e0ecc7a6c1d387734e437f23e2842fc4908 (diff) | |
fs_mgr: overlayfs: empty system partitions excluded.
Beside using the 1% threshold for determining that a filesystem
should be an overlayfs candidate, do so also if the free space
is below 8MB. This will cover nearly empty filesystems that can
not be right-sized below the smallest ext4 filesystem size.
Adjust the test to cover the new cases.
Should test all system partitions, including new /system_ext and
any others that get added in the future.
Fix instance of dir that were supposed to be die. Using || die
does not work as expected within a function, so use if ! <cond>.
Test: adb-remount-test.sh
Bug: 139471424
Change-Id: If3e4cac5dce7bee998727052130eaf362e9e2fb5
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions
