diff options
author | David Anderson <dvander@google.com> | 2018-10-19 17:15:31 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-10-22 12:00:13 -0700 |
commit | 11440493a797a8125355253d0391425a444006c0 (patch) | |
tree | 4d1470d6d6fc41ef9e77a4592af87e9ff749b6dd /libutils/Unicode.cpp | |
parent | 5336d40ed4a33cf8650a579fe113d69415ccb687 (diff) |
liblp: Move free-region calculation into a separate function.
In preparation for supporting multiple block devices, this factors out
the free-list calculation for resizing partitions.
Additionally, it fixes a bug where space in between the first usable
sector and the first extent wasn't added to the free list.
Bug: 116802789
Test: liblp_test gtest
Change-Id: I965760eef0176020e9a5691ce1be2c8b5e0c8bc8
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions