Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lvmanip: uninitialized members in struct pv_list (#10)
Scenario: Given an existed LV `lvol0`, I want to create another LV on the PVs used by `lvol0`. I use `build_parallel_areas_from_lv()` to obtain the `pv_list` of each segments. However, the returned `pv_list` is not properly initialized, which causes segfault in subsequent operations. (cherry picked from commit 859feb8) (cherry picked from commit 219ba4f) Conflicts: WHATS_NEW
- Loading branch information