mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-25 21:57:45 +03:00
raid: ensure enum is defined
Just making sure enum is always defined. TODO: code path using this enum needs closer inspection.
This commit is contained in:
parent
c31614eccc
commit
ad286a3227
@ -2232,7 +2232,7 @@ static int _raid_reshape(struct logical_volume *lv,
|
||||
int force_repair = 0, r, too_few = 0;
|
||||
unsigned devs_health, devs_in_sync;
|
||||
uint32_t new_image_count, old_image_count;
|
||||
enum alloc_where where_it_was;
|
||||
enum alloc_where where_it_was = alloc_none;
|
||||
struct lv_segment *seg = first_seg(lv);
|
||||
struct dm_list removal_lvs;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user