mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
parent
40c1f7889f
commit
e166d2b14c
@ -698,7 +698,7 @@ static int _split_mirror_images(struct logical_volume *lv,
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!strcmp(lv->vg->lock_type, "dlm"))
|
||||
if (lv->vg->lock_type && !strcmp(lv->vg->lock_type, "dlm"))
|
||||
new_lv->lock_args = lv->lock_args;
|
||||
|
||||
if (!dm_list_empty(&split_images)) {
|
||||
|
Loading…
Reference in New Issue
Block a user