1
0
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:
Jonathan Earl Brassow 2010-04-28 17:41:30 +00:00
parent 942d6ef29f
commit c64f9e63eb

View File

@ -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;