diff options
| author | David Anderson <dvander@google.com> | 2019-06-19 19:01:14 -0700 |
|---|---|---|
| committer | David Anderson <dvander@google.com> | 2019-06-19 19:23:55 -0700 |
| commit | 2ca0700b450679ccf5855a48b2ffd7fc0a5a76ba (patch) | |
| tree | 75d3e11c5280f4f1c5be4bf61bb8120ddaba33d5 /base/errors_unix.cpp | |
| parent | 3215fd93c7a335a7368020c9d60efb467d8c943a (diff) | |
liblp: Handle invalid alignment offsets correctly.
When stacking devices with dm-linear, it is possible to get a -1
alignment offset. In this case we should set alignment_offset to 0
rather than fail later trying to divide -1 by the sector size.
Bug: 134536978
Test: manual test
Change-Id: I3862fdda69531a3b230b7316707469a49ba871d6
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
