mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Ensure thin LVs take an exclusive activation
This commit is contained in:
parent
493ea6330b
commit
cf3d037c96
@ -145,7 +145,10 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd,
|
||||
stack;
|
||||
continue;
|
||||
}
|
||||
} else if (lv_is_origin(lv) || (activate == CHANGE_AE)) {
|
||||
} else if (lv_is_origin(lv) ||
|
||||
lv_is_thin_pool(lv) ||
|
||||
lv_is_thin_volume(lv) ||
|
||||
(activate == CHANGE_AE)) {
|
||||
if (!activate_lv_excl(cmd, lv)) {
|
||||
stack;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user