1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

lvconvert: Reinstate raid merge after splitmirror.

After commit 46c8d6bb8a
(lvconvert: Improve message for raid without -m)
This commit is contained in:
Alasdair G Kergon 2015-12-03 17:40:10 +00:00
parent 89418c1253
commit c24d913c47

View File

@ -1734,7 +1734,7 @@ static int _lvconvert_raid(struct logical_volume *lv, struct lvconvert_params *l
return 0;
}
if (seg_is_linear(seg) && !arg_count(cmd, mirrors_ARG)) {
if (seg_is_linear(seg) && !lp->merge_mirror && !arg_count(cmd, mirrors_ARG)) {
log_error("Raid conversions require -m/--mirrors");
return 0;
}