mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Don't attempt to convert the log type of an LV if the LV
is not a mirror.
This commit is contained in:
parent
942d6ef29f
commit
c64f9e63eb
@ -1074,7 +1074,7 @@ out:
|
||||
/*
|
||||
* Converting the log type
|
||||
*/
|
||||
if (old_log_count != new_log_count) {
|
||||
if ((lv->status & MIRRORED) && (old_log_count != new_log_count)) {
|
||||
if (!_lv_update_log_type(cmd, lp, lv,
|
||||
operable_pvs, new_log_count)) {
|
||||
stack;
|
||||
|
Loading…
x
Reference in New Issue
Block a user