1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-23 10:50:34 +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 68c7b86df1
commit 15d7886699

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;