mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvconvert: Fix reload after snapshot conversion.
At the end of lvconvert --snapshot with an active origin, the origin
gets reloaded.
Commit 57c0f72b1d
("lvconvert: use
_reload_lv on more places") accidentally replaced this with a snapshot
LV reload (which does nothing because only the origin is active).
This commit is contained in:
parent
6232cac86c
commit
ff769ecfe7
@ -1,5 +1,6 @@
|
||||
Version 2.02.105 -
|
||||
=====================================
|
||||
Reinstate origin reload to complete lvconvert -s with active LVs. (2.02.98)
|
||||
Select only active volume groups if vgdisplay -A is used.
|
||||
Add -p and LVM_LVMETAD_PID env var to lvmetad to change pid file.
|
||||
Allow lvmetad to reuse stale socket.
|
||||
|
@ -1864,7 +1864,7 @@ static int lvconvert_snapshot(struct cmd_context *cmd,
|
||||
}
|
||||
|
||||
/* store vg on disk(s) */
|
||||
if (!_reload_lv(cmd, lv->vg, lv))
|
||||
if (!_reload_lv(cmd, lv->vg, org))
|
||||
return_0;
|
||||
|
||||
log_print_unless_silent("Logical volume %s converted to snapshot.", lv->name);
|
||||
|
Loading…
Reference in New Issue
Block a user